chiark / gitweb /
core: use correct format string for UIDs
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Wed, 25 Jun 2014 12:54:48 +0000 (14:54 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Jun 2014 05:41:04 +0000 (01:41 -0400)
src/core/main.c

index 6981e722d990516b4f7a0cabcaf4647527539d9c..8ee12ef8fabfe49050702728da3e6b32da0eb8f7 100644 (file)
@@ -1548,7 +1548,7 @@ int main(int argc, char *argv[]) {
                         log_info("Running with unpopulated /etc.");
         } else {
                 _cleanup_free_ char *t = uid_to_name(getuid());
-                log_debug(PACKAGE_STRING " running in user mode for user "PID_FMT"/%s. (" SYSTEMD_FEATURES ")",
+                log_debug(PACKAGE_STRING " running in user mode for user "UID_FMT"/%s. (" SYSTEMD_FEATURES ")",
                           getuid(), t);
         }