aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/snarfer/nowsys-snarfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/snarfer/nowsys-snarfer.c')
-rw-r--r--src/cmd/snarfer/nowsys-snarfer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/snarfer/nowsys-snarfer.c b/src/cmd/snarfer/nowsys-snarfer.c
new file mode 100644
index 00000000..06e59d84
--- /dev/null
+++ b/src/cmd/snarfer/nowsys-snarfer.c
@@ -0,0 +1,9 @@
+#include <u.h>
+#include <libc.h>
+
+void
+main(void)
+{
+ fprint(2, "no window system\n");
+ exits("nowsys");
+}