From ba7bd26fe6ca25ce663b51fe5e47ea3a08622676 Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 15 Jan 2024 13:34:30 -0700 Subject: [PATCH] dj(1): fix typos in comments --- src/dj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dj.c b/src/dj.c index 97ca48c..7ea94ee 100644 --- a/src/dj.c +++ b/src/dj.c @@ -24,7 +24,7 @@ #include /* memcpy(3), memmove(3), memset(3) */ #include /* EX_OK, EX_USAGE */ #include /* close(2), getopt(3), lseek(2), read(2), write(2), - optarg, optind, STDIN_FILENO, STDOUT_FILENO */ + * optarg, optind, STDIN_FILENO, STDOUT_FILENO */ extern int errno; /* dj uses two structures that respectively correspond to the reading and @@ -70,7 +70,7 @@ struct Io{ /* (-n) */ static char noerror; /* 0 - exits on partial reads or writes * (default) * 1 - retries on partial reads/writes - * (-f) */ + * (-n) */ /* Non-configurable defaults. */ #define bs_default 1024 /* GNU dd(1) default; twice POSIX but a neat 2^10 */