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)
732 * error_msg_rpc(clnt_*error*(" ")) */ 732 * error_msg_rpc(clnt_*error*(" ")) */
733static void error_msg_rpc(const char *msg) 733static void error_msg_rpc(const char *msg)
734{ 734{
735 size_t len; 735 int len;
736 while (msg[0] == ' ' || msg[0] == ':') msg++; 736 while (msg[0] == ' ' || msg[0] == ':') msg++;
737 len = strlen(msg); 737 len = strlen(msg);
738 while (len && msg[len-1] == '\n') len--; 738 while (len && msg[len-1] == '\n') len--;