]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/LogEntry: fix warning on i386
authorSage Weil <sage@redhat.com>
Sun, 31 Aug 2014 04:56:31 +0000 (21:56 -0700)
committerSage Weil <sage@redhat.com>
Sun, 31 Aug 2014 04:56:31 +0000 (21:56 -0700)
commita24c8bac2b368c070384732c49b13562a60ed296
treef8fa6146b6a525cbca1566e9ab70dd1294f0f884
parentbb26c66b826ab095a981b35ba87bea6952d82d49
common/LogEntry: fix warning on i386

common/LogEntry.cc: In member function 'void LogEntry::log_to_syslog(std::string, std::string)':
warning: common/LogEntry.cc:161:20: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
msg.c_str());
^

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/LogEntry.cc