diff options
Diffstat (limited to 'winsup/utils/mount.cc')
-rw-r--r-- | winsup/utils/mount.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 4117c01c5..1a671dd04 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -188,17 +188,11 @@ show_mounts (void) { FILE *m = setmntent ("/-not-used-", "r"); struct mntent *p; - const char *format = "%-18s %-18s %-11s %s\n"; + const char *format = "%s on %s type %s (%s)\n"; - printf (format, "Device", "Directory", "Type", "Flags"); + // printf (format, "Device", "Directory", "Type", "Flags"); while ((p = getmntent (m)) != NULL) - { - printf (format, - p->mnt_fsname, - p->mnt_dir, - p->mnt_type, - p->mnt_opts); - } + printf (format, p->mnt_fsname, p->mnt_dir, p->mnt_type, p->mnt_opts); endmntent (m); } |