summary refs log tree commit diff
path: root/src/nm-logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-logging.h')
-rw-r--r--src/nm-logging.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nm-logging.h b/src/nm-logging.h
index a0f4ad73..c604f493 100644
--- a/src/nm-logging.h
+++ b/src/nm-logging.h
@@ -1,4 +1,3 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
 /* NetworkManager -- Network link manager
  *
  * This program is free software; you can redistribute it and/or modify
@@ -310,9 +309,9 @@ gboolean nm_logging_syslog_enabled (void);
 #define __NMLOG_DEFAULT_WITH_ADDR(level, domain, prefix, ...) \
 	G_STMT_START { \
 		nm_log ((level), (domain), NULL, NULL, \
-		        "%s[%p]: " _NM_UTILS_MACRO_FIRST(__VA_ARGS__), \
+		        "%s["NM_HASH_OBFUSCATE_PTR_FMT"]: " _NM_UTILS_MACRO_FIRST(__VA_ARGS__), \
 		        (prefix), \
-		        (self) \
+		        NM_HASH_OBFUSCATE_PTR (self) \
 		        _NM_UTILS_MACRO_REST(__VA_ARGS__)); \
 	} G_STMT_END