summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--disk-utils/fdisk.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c
index 9dbecf989..7e8285fe9 100644
--- a/disk-utils/fdisk.c
+++ b/disk-utils/fdisk.c
@@ -937,8 +937,13 @@ int main(int argc, char **argv)
if (argc > optind) {
int k;
- for (k = optind; k < argc; k++)
+ int ct = 0;
+ for (k = optind; k < argc; k++) {
+ if (ct)
+ fputs("\n\n", stdout);
+ ct++;
print_device_pt(cxt, argv[k], 1, 0);
+ }
} else
print_all_devices_pt(cxt, 0);
break;