diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-07-05 22:56:31 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-07-05 22:56:31 +0000 |
commit | 8c54f1a949817a8bf830ad652f381a52085f0487 (patch) | |
tree | 9a2db1fbcfe367ddb6de5f3f25f98f3721195cc0 /tools/dmsetup.c | |
parent | d911ec67a9ce0940dddeda211ea816068c2628f5 (diff) | |
download | lvm2-8c54f1a949817a8bf830ad652f381a52085f0487.tar.gz lvm2-8c54f1a949817a8bf830ad652f381a52085f0487.tar.xz lvm2-8c54f1a949817a8bf830ad652f381a52085f0487.zip |
Fix dmlosetup snprintf %llu compiler warning.
Diffstat (limited to 'tools/dmsetup.c')
-rw-r--r-- | tools/dmsetup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 85dd7fb1..5e71542a 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -2942,7 +2942,7 @@ static int _loop_table(char *table, size_t tlen, char *file, close(fd); if (dm_snprintf(table, tlen, "%llu %llu loop %s %llu\n", 0ULL, - (long long unsigned)sectors, file, off) < 0) + (long long unsigned)sectors, file, (long long unsigned)off) < 0) return 0; if (_switches[VERBOSE_ARG] > 1) @@ -2956,8 +2956,6 @@ error: return 0; } - - static int _process_losetup_switches(const char *base, int *argc, char ***argv, const char *dev_dir) { |