summary refs log tree commit diff
path: root/src/core/main-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main-utils.c')
-rw-r--r--src/core/main-utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/main-utils.c b/src/core/main-utils.c
index 9360d688..0f62da29 100644
--- a/src/core/main-utils.c
+++ b/src/core/main-utils.c
@@ -192,10 +192,7 @@ nm_main_utils_ensure_not_running_pidfile(const char *pidfile)
     if (strcmp(process_name, prgname) == 0) {
         /* Check that the process exists */
         if (kill(pid, 0) == 0) {
-            fprintf(stderr,
-                    _("%s is already running (pid %" G_GINT64_FORMAT ")\n"),
-                    prgname,
-                    (gint64) pid);
+            fprintf(stderr, _("%s is already running (pid %lld)\n"), prgname, (long long) pid);
             exit(1);
         }
     }