summaryrefslogtreecommitdiffstats
path: root/disk-utils/blockdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/blockdev.c')
-rw-r--r--disk-utils/blockdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c
index 3f9e81d24..7d1f8086c 100644
--- a/disk-utils/blockdev.c
+++ b/disk-utils/blockdev.c
@@ -313,7 +313,7 @@ report_all_devices(void) {
}
while (fgets(line, sizeof(line), procpt)) {
- if (sscanf (line, " %d %d %d %[^\n ]",
+ if (sscanf (line, " %d %d %d %200[^\n ]",
&ma, &mi, &sz, ptname) != 4)
continue;