diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 7227a829e..aa718c787 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -2805,7 +2805,7 @@ list_devs_in_proc_partititons(void) | |||
2805 | &ma, &mi, &sz, ptname) != 4) | 2805 | &ma, &mi, &sz, ptname) != 4) |
2806 | continue; | 2806 | continue; |
2807 | for (s = ptname; *s; s++) | 2807 | for (s = ptname; *s; s++) |
2808 | continue; | 2808 | continue; |
2809 | /* note: excluding '0': e.g. mmcblk0 is not a partition name! */ | 2809 | /* note: excluding '0': e.g. mmcblk0 is not a partition name! */ |
2810 | if (s[-1] >= '1' && s[-1] <= '9') | 2810 | if (s[-1] >= '1' && s[-1] <= '9') |
2811 | continue; | 2811 | continue; |