we're reading unsigned long long, use %llu rather than %lld.

bitmap-optimize
Matthias Andree 2005-01-12 22:58:33 +01:00
parent 66fa0de8b3
commit d34588265c
1 changed files with 1 additions and 1 deletions

View File

@ -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);