aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-03-15 07:56:59 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-03-15 07:56:59 +0000
commit024ae00499c710ecfd803a24d8acef6197866b6e (patch)
tree52ec3e7bc937c469ca3f397191ca6c2929cd0b4f /sbin
parent5b54b0891a09ca82d08e652527d1c8b531489033 (diff)
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/camcontrol/modeedit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/camcontrol/modeedit.c b/sbin/camcontrol/modeedit.c
index 7aeac58782be7..c8dd20ab9afb1 100644
--- a/sbin/camcontrol/modeedit.c
+++ b/sbin/camcontrol/modeedit.c
@@ -470,7 +470,7 @@ load_format(char *pagedb_path, int page)
} else if (depth == 0 && ! BUFFERFULL(str_pagenum)) {
strncat(str_pagenum, &c, 1);
} else if (depth == 0) {
- errx(EX_OSFILE, "%s:%d: %s %d %s", pagedb_path,
+ errx(EX_OSFILE, "%s:%d: %s %zd %s", pagedb_path,
lineno, "page identifier exceeds",
sizeof(str_pagenum) - 1, "characters");
}
@@ -486,7 +486,7 @@ load_format(char *pagedb_path, int page)
} else if (! BUFFERFULL(str_pagename)) {
strncat(str_pagename, &c, 1);
} else {
- errx(EX_OSFILE, "%s:%d: %s %d %s", pagedb_path,
+ errx(EX_OSFILE, "%s:%d: %s %zd %s", pagedb_path,
lineno, "page name exceeds",
sizeof(str_pagenum) - 1, "characters");
}
@@ -503,7 +503,7 @@ load_format(char *pagedb_path, int page)
} else if (! BUFFERFULL(format)) {
strncat(format, &c, 1);
} else {
- errx(EX_OSFILE, "%s:%d: %s %d %s", pagedb_path,
+ errx(EX_OSFILE, "%s:%d: %s %zd %s", pagedb_path,
lineno, "page definition exceeds",
sizeof(format) - 1, "characters");
}