diff --git a/sbin/gpt/gpt.c b/sbin/gpt/gpt.c index 06646baceaae..5e48087b82b4 100644 --- a/sbin/gpt/gpt.c +++ b/sbin/gpt/gpt.c @@ -31,7 +31,7 @@ __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $"); #endif #ifdef __RCSID -__RCSID("$NetBSD: gpt.c,v 1.5 2007/12/18 21:46:46 riz Exp $"); +__RCSID("$NetBSD: gpt.c,v 1.6 2007/12/19 05:48:33 dogcow Exp $"); #endif #include @@ -756,7 +756,7 @@ usage(void) getprogname(), destroymsg, getprogname(), labelmsg1, getprogname(), labelmsg2, - strlen(getprogname()), "", labelmsg3, + (int)strlen(getprogname()), "", labelmsg3, getprogname(), migratemsg, getprogname(), recovermsg, getprogname(), removemsg1, diff --git a/sbin/gpt/label.c b/sbin/gpt/label.c index 0a757716ea89..ee6a14882f3e 100644 --- a/sbin/gpt/label.c +++ b/sbin/gpt/label.c @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD: src/sbin/gpt/label.c,v 1.3 2006/10/04 18:20:25 marcel Exp $"); #endif #ifdef __RCSID -__RCSID("$NetBSD: label.c,v 1.5 2007/12/18 21:46:46 riz Exp $"); +__RCSID("$NetBSD: label.c,v 1.6 2007/12/19 05:48:34 dogcow Exp $"); #endif #include @@ -61,7 +61,7 @@ usage_label(void) "usage: %s %s\n" " %s %s\n" " %*s %s\n", getprogname(), labelmsg1, - getprogname(), labelmsg2, strlen(getprogname()), "", labelmsg3); + getprogname(), labelmsg2, (int)strlen(getprogname()), "", labelmsg3); exit(1); }