diff options
author | bde <bde@FreeBSD.org> | 1998-12-07 10:16:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-12-07 10:16:58 +0000 |
commit | 3fbe04f24535abf6464c029d896a26850fcc8920 (patch) | |
tree | 640724404af6aa9d3e45cbbf46844f9092a1bb72 /bin/chio/chio.c | |
parent | d6d798c296ecca71cbd9970868630f12d7868851 (diff) | |
download | FreeBSD-src-3fbe04f24535abf6464c029d896a26850fcc8920.zip FreeBSD-src-3fbe04f24535abf6464c029d896a26850fcc8920.tar.gz |
Fixed printf format errors (new bugs in rev.1.7). Fixed a spelling error
(rev.1.7 blew away most of rev.1.2-1.6; I'm only fixing blowing away of
rev.1.4).
Diffstat (limited to 'bin/chio/chio.c')
-rw-r--r-- | bin/chio/chio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c index f00b738..bb5f749 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -389,7 +389,7 @@ do_params(char *cname, int argc, char **argv) ++argv; --argc; if (argc) { - warnx("%s: no arguements expected", cname); + warnx("%s: no arguments expected", cname); goto usage; } @@ -520,7 +520,7 @@ do_status(char *cname, int argc, char **argv) pvoltag = avoltag = source = sense = scsi = intaddr = 1; break; default: - warnx("bad option", cname); + warnx("%s: bad option", cname); goto usage; } } @@ -741,7 +741,7 @@ do_voltag(char *cname, int argc, char **argv) alternate = 1; break; default: - warnx("bad option", cname); + warnx("%s: bad option", cname); goto usage; } } @@ -750,7 +750,7 @@ do_voltag(char *cname, int argc, char **argv) argv += optind; if (argc < 2) { - warnx("missing element specification", cname); + warnx("%s: missing element specification", cname); goto usage; } @@ -759,7 +759,7 @@ do_voltag(char *cname, int argc, char **argv) if (!clear) { if (argc < 3 || argc > 4) { - warnx("missing argument", cname); + warnx("%s: missing argument", cname); goto usage; } @@ -769,7 +769,7 @@ do_voltag(char *cname, int argc, char **argv) csvr.csvr_flags = CSVR_MODE_SET; if (strlen(argv[2]) > sizeof(csvr.csvr_voltag.cv_volid)) { - warnx("volume label too long", cname); + warnx("%s: volume label too long", cname); goto usage; } @@ -781,7 +781,7 @@ do_voltag(char *cname, int argc, char **argv) } } else { if (argc != 2) { - warnx("unexpected argument", cname); + warnx("%s: unexpected argument", cname); goto usage; } csvr.csvr_flags = CSVR_MODE_CLEAR; |