From 1dfad87e8742faae253951d5d43d635a1feb2f8a Mon Sep 17 00:00:00 2001 From: emma Date: Sat, 13 Jul 2024 16:56:56 -0600 Subject: [PATCH] dj(1): lists sysexits imports, fixes negation --- src/dj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dj.c b/src/dj.c index 7a2512e..b847b38 100644 --- a/src/dj.c +++ b/src/dj.c @@ -23,7 +23,7 @@ #include /* fprintf(3), stderr */ #include /* malloc(3), strtol(3), size_t */ #include /* memcpy(3), memmove(3), memset(3) */ -#include +#include /* EX_OK, EX_OSERR, EX_USAGE */ #include /* close(2), getopt(3), lseek(2), read(2), write(2), * optarg, optind, STDIN_FILENO, STDOUT_FILENO */ #include /* S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR */ @@ -176,7 +176,7 @@ int main(int argc, char *argv[]) { io[i].seek = 0; } - if (!argc < 0) { usage(program_name); } + if (!(argc < 0)) { usage(program_name); } int c;