1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix dmlosetup snprintf %llu compiler warning.

This commit is contained in:
Alasdair Kergon 2010-07-05 22:56:31 +00:00
parent d911ec67a9
commit 8c54f1a949
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.52 -
================================
Fix dmlosetup snprintf %llu compiler warning.
Add parentheses to some libdevmapper.h macro arguments.
Add printf format attributes to dm_{sn,as}printf and fix a caller.
Move dmeventd man page from install_lvm2 to install_device-mapper. (1.02.50)

View File

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