]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/LogEntry: fix warning on x86_64
authorSage Weil <sage@redhat.com>
Sun, 31 Aug 2014 05:39:04 +0000 (22:39 -0700)
committerSage Weil <sage@redhat.com>
Sun, 31 Aug 2014 05:39:04 +0000 (22:39 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/LogEntry.cc

index 53acf0f7e4ee75df5f398504c6d698e13a1b357a..42389f0f2c87190f46a97fb40dbc110e97995cb2 100644 (file)
@@ -156,9 +156,9 @@ void LogEntry::log_to_syslog(string level, string facility)
   if (l <= min) {
     int f = string_to_syslog_facility(facility);
     syslog(l | f, "%s %llu : %s",
-        stringify(who).c_str(),
-        seq,
-        msg.c_str());
+          stringify(who).c_str(),
+          (long long unsigned)seq,
+          msg.c_str());
   }
 }