1
0
forked from bonsai/harakit

dj(1): fix typos in comments

This commit is contained in:
dtb 2024-01-15 13:34:30 -07:00
parent d25c8a64f2
commit ba7bd26fe6
Signed by untrusted user: trinity
GPG Key ID: 31FF85CCB6DC7641

View File

@ -24,7 +24,7 @@
#include <string.h> /* memcpy(3), memmove(3), memset(3) */ #include <string.h> /* memcpy(3), memmove(3), memset(3) */
#include <sysexits.h> /* EX_OK, EX_USAGE */ #include <sysexits.h> /* EX_OK, EX_USAGE */
#include <unistd.h> /* close(2), getopt(3), lseek(2), read(2), write(2), #include <unistd.h> /* 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; extern int errno;
/* dj uses two structures that respectively correspond to the reading and /* 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 /* (-n) */ static char noerror; /* 0 - exits on partial reads or writes
* (default) * (default)
* 1 - retries on partial reads/writes * 1 - retries on partial reads/writes
* (-f) */ * (-n) */
/* Non-configurable defaults. */ /* Non-configurable defaults. */
#define bs_default 1024 /* GNU dd(1) default; twice POSIX but a neat 2^10 */ #define bs_default 1024 /* GNU dd(1) default; twice POSIX but a neat 2^10 */