diff options
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r-- | usr.sbin/afs/src/arlad/arla-cli.c | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/lib/ko/restest.c | 4 | ||||
-rw-r--r-- | usr.sbin/afs/src/lib/ko/reswinnt.c | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/milko/appl/sked/sked.c | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/milko/bos/bosserver.c | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/tests/exit-wo-close.c | 2 | ||||
-rw-r--r-- | usr.sbin/afs/src/tools/release-tools/tar-rootify.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/afs/src/arlad/arla-cli.c b/usr.sbin/afs/src/arlad/arla-cli.c index 2602146a0d9..ed72f0a0e78 100644 --- a/usr.sbin/afs/src/arlad/arla-cli.c +++ b/usr.sbin/afs/src/arlad/arla-cli.c @@ -973,7 +973,7 @@ arla_start (char *device_file, const char *cache_dir, int argc, char **argv) if (argc > 0) { error = sl_command(cmds, argc, argv); if (error == -1) - errx (1, "%s: Unknown command\n", argv[0]); + errx(1, "%s: Unknown command", argv[0]); } else { sl_loop(cmds, "arla> "); } diff --git a/usr.sbin/afs/src/lib/ko/restest.c b/usr.sbin/afs/src/lib/ko/restest.c index 9bbdc372a77..083e49bac84 100644 --- a/usr.sbin/afs/src/lib/ko/restest.c +++ b/usr.sbin/afs/src/lib/ko/restest.c @@ -60,7 +60,7 @@ main(int argc, char **argv) sizeof(dbservers)/sizeof(dbservers[0]), &dbnum, &lowest_ttl); if (ret) - errx(1, "_ko_resolve_cell failed with %d\n", ret); + errx(1, "_ko_resolve_cell failed with %d", ret); printf("cell %s, lowest_ttl %d\n", cell, lowest_ttl); @@ -74,7 +74,7 @@ main(int argc, char **argv) ret = _ko_resolve_host(dbservers[0].name, &dbservers[0]); if (ret) - errx(1, "_ko_resolve_host failed with %d\n", ret); + errx(1, "_ko_resolve_host failed with %d", ret); print_host(&dbservers[0]); diff --git a/usr.sbin/afs/src/lib/ko/reswinnt.c b/usr.sbin/afs/src/lib/ko/reswinnt.c index ccb7d01f819..cd7f11df1e0 100644 --- a/usr.sbin/afs/src/lib/ko/reswinnt.c +++ b/usr.sbin/afs/src/lib/ko/reswinnt.c @@ -51,7 +51,7 @@ _ko_resolve_init(void) status = DnsAcquireContextHandle_A(FALSE, NULL, &dns_handle); if (status) - errx(1, "DnsAcquireContextHandle returned 0x%x\n", status); + errx(1, "DnsAcquireContextHandle returned 0x%x", status); #endif } diff --git a/usr.sbin/afs/src/milko/appl/sked/sked.c b/usr.sbin/afs/src/milko/appl/sked/sked.c index 00e3abb0338..0ac2921d70d 100644 --- a/usr.sbin/afs/src/milko/appl/sked/sked.c +++ b/usr.sbin/afs/src/milko/appl/sked/sked.c @@ -381,7 +381,7 @@ volls_cmd (int argc, char **argv) ret = vld_open_vnode (volh, &n, &m); if (ret) - errx (1, "volls: vld_open_vnode failed with %d\n", ret); + errx (1, "volls: vld_open_vnode failed with %d", ret); #else abort(); #endif diff --git a/usr.sbin/afs/src/milko/bos/bosserver.c b/usr.sbin/afs/src/milko/bos/bosserver.c index 939ecacba7e..c56bc47bb56 100644 --- a/usr.sbin/afs/src/milko/bos/bosserver.c +++ b/usr.sbin/afs/src/milko/bos/bosserver.c @@ -656,7 +656,7 @@ main (int argc, char **argv) ret = bosserver_init(); if (ret) - errx (1, "bosserver_init: error %d\n", ret); + errx(1, "bosserver_init: error %d", ret); printf("Milko bosserver %s-%s started\n", PACKAGE, VERSION); diff --git a/usr.sbin/afs/src/tests/exit-wo-close.c b/usr.sbin/afs/src/tests/exit-wo-close.c index c035b163bf3..334d3bcea21 100644 --- a/usr.sbin/afs/src/tests/exit-wo-close.c +++ b/usr.sbin/afs/src/tests/exit-wo-close.c @@ -94,7 +94,7 @@ parent (const char *filename, pid_t child_pid) if (ret != 3) errx (1, "short read from %s", filename); if (memcmp (buf, "hej", 3) != 0) - errx (1, "bad contents of %s = `%.3s'\n", filename, buf); + errx (1, "bad contents of %s = `%.3s'", filename, buf); close (fd); return 0; } diff --git a/usr.sbin/afs/src/tools/release-tools/tar-rootify.c b/usr.sbin/afs/src/tools/release-tools/tar-rootify.c index 079035e76f4..2bff325333d 100644 --- a/usr.sbin/afs/src/tools/release-tools/tar-rootify.c +++ b/usr.sbin/afs/src/tools/release-tools/tar-rootify.c @@ -100,7 +100,7 @@ main(int argc, char **argv) if (strcmp(p->magic, TMAGIC) != 0 && strcmp(p->magic, OLDGNU_MAGIC) != 0) - errx(1, "bad magic in #%d '%.*s'\n", rec, + errx(1, "bad magic in #%d '%.*s'", rec, (int)sizeof(p->magic), p->magic); cksum = 256; |