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 56c32e126..478dc2409 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -448,7 +448,7 @@ static int mount_it_now(struct mntent *mp, long vfsflags, char *filteropts) | |||
448 | 448 | ||
449 | // If mount failed, try | 449 | // If mount failed, try |
450 | // helper program mount.<mnt_type> | 450 | // helper program mount.<mnt_type> |
451 | if (HELPERS_ALLOWED && rc) { | 451 | if (HELPERS_ALLOWED && rc && mp->mnt_type) { |
452 | char *args[8]; | 452 | char *args[8]; |
453 | int errno_save = errno; | 453 | int errno_save = errno; |
454 | args[0] = xasprintf("mount.%s", mp->mnt_type); | 454 | args[0] = xasprintf("mount.%s", mp->mnt_type); |