summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-19 14:07:52 +0000
committerDenis Vlasenko2006-09-19 14:07:52 +0000
commit23514fe251ce4c86c591936698537c005437e3d7 (patch)
tree728ee0321b9916bfac910c0d8a0f237338170de7
parentf70265290c5ddbbe30ea28034fac792e451955ec (diff)
downloadbusybox-23514fe251ce4c86c591936698537c005437e3d7.zip
busybox-23514fe251ce4c86c591936698537c005437e3d7.tar.gz
mount: fix warning (printf field width of * wants int, not size_t)
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 6176de3..888e6d2 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -732,7 +732,7 @@ static inline int we_saw_this_host_before(const char *hostname)
* error_msg_rpc(clnt_*error*(" ")) */
static void error_msg_rpc(const char *msg)
{
- size_t len;
+ int len;
while (msg[0] == ' ' || msg[0] == ':') msg++;
len = strlen(msg);
while (len && msg[len-1] == '\n') len--;