From 23514fe251ce4c86c591936698537c005437e3d7 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 19 Sep 2006 14:07:52 +0000 Subject: mount: fix warning (printf field width of * wants int, not size_t) --- util-linux/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-linux/mount.c b/util-linux/mount.c index 6176de3a1..888e6d22f 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--; -- cgit v1.2.3