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 2ceabced6..9f9249f0a 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -332,7 +332,7 @@ static long parse_mount_options(char *options, char **unrecognized) | |||
332 | if (unrecognized && i == ARRAY_SIZE(mount_options)) { | 332 | if (unrecognized && i == ARRAY_SIZE(mount_options)) { |
333 | // Add it to strflags, to pass on to kernel | 333 | // Add it to strflags, to pass on to kernel |
334 | i = *unrecognized ? strlen(*unrecognized) : 0; | 334 | i = *unrecognized ? strlen(*unrecognized) : 0; |
335 | *unrecognized = xrealloc(*unrecognized, i+strlen(options)+2); | 335 | *unrecognized = xrealloc(*unrecognized, i + strlen(options) + 2); |
336 | 336 | ||
337 | // Comma separated if it's not the first one | 337 | // Comma separated if it's not the first one |
338 | if (i) (*unrecognized)[i++] = ','; | 338 | if (i) (*unrecognized)[i++] = ','; |