Skip to content

Commit

Permalink
use proper printf format spec %lu
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jul 7, 2012
1 parent 330ff7e commit ffab21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libblkid/src/topology/topology.c
Expand Up @@ -225,7 +225,7 @@ static int topology_set_value(blkid_probe pr, const char *name,
memcpy(chn->data + structoff, &data, sizeof(data));
return 0;
}
return blkid_probe_sprintf_value(pr, name, "%llu", data);
return blkid_probe_sprintf_value(pr, name, "%lu", data);
}


Expand Down

0 comments on commit ffab21e

Please sign in to comment.