summaryrefslogtreecommitdiff
path: root/src/libsystemd
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
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')
-rw-r--r--src/libsystemd/sd-device/device-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-device/device-util.h b/src/libsystemd/sd-device/device-util.h
index 94f6174bff..a25682d893 100644
--- a/src/libsystemd/sd-device/device-util.h
+++ b/src/libsystemd/sd-device/device-util.h
@@ -39,7 +39,7 @@
\
if (_d && _unlikely_(log_get_max_level() >= _level)) \
(void) sd_device_get_sysname(_d, &_sysname); \
- log_object_internal(_level, _error, __FILE__, __LINE__, __func__, \
+ log_object_internal(_level, _error, PROJECT_FILE, __LINE__, __func__, \
_sysname ? "DEVICE=" : NULL, _sysname, \
NULL, NULL, ##__VA_ARGS__); \
})