diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-11 00:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 00:00:34 +0200 |
commit | 08945b59d1f6825c4e7500093db5226766acf620 (patch) | |
tree | b8bccd30faae3e155a86d5c3679cc9af65e4f971 /src/network/netdev/netdev.h | |
parent | bdd0f4b6d107eadde374f23f8507cfeb869e78e7 (diff) | |
parent | 79dc477f2fffc5b74601b0041f0d686c31858b66 (diff) | |
download | systemd-08945b59d1f6825c4e7500093db5226766acf620.tar.gz |
Merge pull request #12926 from keszybz/urlify-logs
Urlify CONFIG_FILE and improve SYSTEMD_LOG_LOCATION
Diffstat (limited to 'src/network/netdev/netdev.h')
-rw-r--r-- | src/network/netdev/netdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/netdev/netdev.h b/src/network/netdev/netdev.h index d63b1912d8..732b563d67 100644 --- a/src/network/netdev/netdev.h +++ b/src/network/netdev/netdev.h @@ -193,8 +193,8 @@ const struct ConfigPerfItem* network_netdev_gperf_lookup(const char *key, GPERF_ #define log_netdev_full(netdev, level, error, ...) \ ({ \ const NetDev *_n = (netdev); \ - _n ? log_object_internal(level, error, __FILE__, __LINE__, __func__, "INTERFACE=", _n->ifname, NULL, NULL, ##__VA_ARGS__) : \ - log_internal(level, error, __FILE__, __LINE__, __func__, ##__VA_ARGS__); \ + _n ? log_object_internal(level, error, PROJECT_FILE, __LINE__, __func__, "INTERFACE=", _n->ifname, NULL, NULL, ##__VA_ARGS__) : \ + log_internal(level, error, PROJECT_FILE, __LINE__, __func__, ##__VA_ARGS__); \ }) #define log_netdev_debug(netdev, ...) log_netdev_full(netdev, LOG_DEBUG, 0, ##__VA_ARGS__) |