diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index bc1c0d4a9..e4a7c81c6 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -138,7 +138,7 @@ static void append_mount_options(char **oldopts, const char *newopts) | |||
138 | && (p[len]==',' || p[len]==0)) | 138 | && (p[len]==',' || p[len]==0)) |
139 | goto skip; | 139 | goto skip; |
140 | p = strchr(p,','); | 140 | p = strchr(p,','); |
141 | if(!p) break; | 141 | if (!p) break; |
142 | p++; | 142 | p++; |
143 | } | 143 | } |
144 | p = xasprintf("%s,%.*s", *oldopts, len, newopts); | 144 | p = xasprintf("%s,%.*s", *oldopts, len, newopts); |