os/FileStore.cc: fix format qualifier in COMMIT_SNAP_ITEM

All places COMMIT_SNAP_ITEM is used the variables are
'unsigned long long'. Change the format qualifier to reflect
this and to fix:

[src/os/FileStore.cc:1341]: (warning) %lld in format string (no. 1)
 requires 'long long *' but the argument type is 'unsigned long long *'.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2015-03-17 20:23:53 +01:00
parent 35f61a30dc
commit 4a1bdc72b9

View File

@ -87,7 +87,7 @@ using ceph::crypto::SHA1;
#undef dout_prefix
#define dout_prefix *_dout << "filestore(" << basedir << ") "
#define COMMIT_SNAP_ITEM "snap_%lld"
#define COMMIT_SNAP_ITEM "snap_%llu"
#define CLUSTER_SNAP_ITEM "clustersnap_%s"
#define REPLAY_GUARD_XATTR "user.cephos.seq"