summary refs log tree commit diff
path: root/bin/gfx/none.c
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-27 17:51:25 -0500
committerJune McEnroe <programble@gmail.com>2018-02-27 17:51:25 -0500
commitdc92b189c0ea7469170f9ebfadd7c9e60bbb5960 (patch)
treedc5b06df3d58335784bf40c2578350cd73c9d1d7 /bin/gfx/none.c
parentCheck revents with & (diff)
downloadsrc-dc92b189c0ea7469170f9ebfadd7c9e60bbb5960.tar.gz
src-dc92b189c0ea7469170f9ebfadd7c9e60bbb5960.zip
Print message in gfx/none
Diffstat (limited to 'bin/gfx/none.c')
-rw-r--r--bin/gfx/none.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gfx/none.c b/bin/gfx/none.c
index c3b4a0a9..6decb24b 100644
--- a/bin/gfx/none.c
+++ b/bin/gfx/none.c
@@ -14,10 +14,11 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <err.h>
 #include <sysexits.h>
 
 #include "gfx.h"
 
 int main() {
-    return EX_CONFIG;
+    errx(EX_CONFIG, "no gfx frontend");
 }