about summary refs log tree commit diff
path: root/xdg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xdg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xdg.c b/xdg.c
index 75ee871..6f61cf9 100644
--- a/xdg.c
+++ b/xdg.c
@@ -32,7 +32,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
-#include <sysexits.h>
 
 #include "chat.h"
 
@@ -90,7 +89,7 @@ static char *basePath(
 	} else if (home) {
 		snprintf(buf, cap, "%s/%s/" SUBDIR "/%s", home, base.defHome, path);
 	} else {
-		errx(EX_USAGE, "HOME unset");
+		errx(1, "HOME unset");
 	}
 	return buf;
 }