aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-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 0bc46ecb5..b059d7094 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -345,7 +345,7 @@ static void show_mounts(char *onlytype)
345 if (strcmp(blockDevice, "rootfs") == 0) { 345 if (strcmp(blockDevice, "rootfs") == 0) {
346 continue; 346 continue;
347 } else if (strcmp(blockDevice, "/dev/root") == 0) { 347 } else if (strcmp(blockDevice, "/dev/root") == 0) {
348 blockDevice = find_real_root_device_name(blockDevice); 348 blockDevice = find_real_root_device_name();
349 } 349 }
350 if (!onlytype || (strcmp(m->mnt_type, onlytype) == 0)) { 350 if (!onlytype || (strcmp(m->mnt_type, onlytype) == 0)) {
351 printf("%s on %s type %s (%s)\n", blockDevice, m->mnt_dir, 351 printf("%s on %s type %s (%s)\n", blockDevice, m->mnt_dir,