]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: use new ul_path_* API
authorKarel Zak <kzak@redhat.com>
Wed, 16 May 2018 11:22:38 +0000 (13:22 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Jun 2018 11:07:46 +0000 (13:07 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-list.c

index dd498a37f82aeee5d70334fa73ffb7b418eb8d2a..090b9414b97cb3db90aacb6d29578f43acfdb65a 100644 (file)
@@ -330,7 +330,7 @@ char *next_proc_partition(FILE **f)
                if (sscanf(line, " %*d %*d %*d %128[^\n ]", buf) != 1)
                        continue;
 
-               devno = sysfs_devname_to_devno(buf, NULL);
+               devno = sysfs_devname_to_devno(buf);
                if (devno <= 0)
                        continue;