aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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--;