mirror of https://github.com/vitalif/e2fsprogs
we're reading unsigned long long, use %llu rather than %lld.
parent
66fa0de8b3
commit
d34588265c
|
@ -300,7 +300,7 @@ int blkid_probe_all(blkid_cache cache)
|
|||
which ^= 1;
|
||||
ptname = ptnames[which];
|
||||
|
||||
if (sscanf(line, " %d %d %lld %128[^\n ]",
|
||||
if (sscanf(line, " %d %d %llu %128[^\n ]",
|
||||
&ma, &mi, &sz, ptname) != 4)
|
||||
continue;
|
||||
devs[which] = makedev(ma, mi);
|
||||
|
|
Loading…
Reference in New Issue