summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/ndisc-internal.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-07 15:00:47 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-04 10:36:00 +0200
commit62c6bbbc0993e34ede5c4266c68982c995b7b421 (patch)
treebbec59c3b915461682208ece94ff35a73aebb429 /src/libsystemd-network/ndisc-internal.h
parenta0b15b41771a262d042dbb6ac32a7f9614100714 (diff)
downloadsystemd-62c6bbbc0993e34ede5c4266c68982c995b7b421.tar.gz
tree-wide: use PROJECT_FILE instead of __FILE__
This replaces the internal uses of __FILE__ with the new macro.
Diffstat (limited to 'src/libsystemd-network/ndisc-internal.h')
-rw-r--r--src/libsystemd-network/ndisc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/ndisc-internal.h b/src/libsystemd-network/ndisc-internal.h
index 28f801cd7f..c66dc3d443 100644
--- a/src/libsystemd-network/ndisc-internal.h
+++ b/src/libsystemd-network/ndisc-internal.h
@@ -37,7 +37,7 @@ struct sd_ndisc {
void *userdata;
};
-#define log_ndisc_errno(error, fmt, ...) log_internal(LOG_DEBUG, error, __FILE__, __LINE__, __func__, "NDISC: " fmt, ##__VA_ARGS__)
+#define log_ndisc_errno(error, fmt, ...) log_internal(LOG_DEBUG, error, PROJECT_FILE, __LINE__, __func__, "NDISC: " fmt, ##__VA_ARGS__)
#define log_ndisc(fmt, ...) log_ndisc_errno(0, fmt, ##__VA_ARGS__)
const char* ndisc_event_to_string(sd_ndisc_event e) _const_;