aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2001-09-22 23:17:37 +0000
committerMurray Stokely <murray@FreeBSD.org>2001-09-22 23:17:37 +0000
commit250f214507f4655441bf70e8c071d8865fc4588b (patch)
treed0e2ff4d919270404ceb8069d20bbe4eef969ad6 /usr.sbin/sysinstall/dist.c
parentd47aa91c6afc513c2b7ccefa0e999eb38a9e02f4 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 7a674cca4d19..e15f088651b8 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -466,7 +466,7 @@ distSetCustom(dialogMenuItem *self)
cp = alloca(strlen(tmp) + 1);
if (!cp)
- msgFatal("Couldn't alloca() %d bytes!\n", strlen(tmp) + 1);
+ msgFatal("Couldn't alloca() %d bytes!\n", (int)(strlen(tmp) + 1));
strcpy(cp, tmp);
while (cp) {
if ((cp2 = index(cp, ' ')) != NULL)
@@ -492,7 +492,7 @@ distUnsetCustom(dialogMenuItem *self)
cp = alloca(strlen(tmp) + 1);
if (!cp)
- msgFatal("Couldn't alloca() %d bytes!\n", strlen(tmp) + 1);
+ msgFatal("Couldn't alloca() %d bytes!\n", (int)(strlen(tmp) + 1));
strcpy(cp, tmp);
while (cp) {
if ((cp2 = index(cp, ' ')) != NULL)