summaryrefslogtreecommitdiffstats
path: root/netrom
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-27 16:31:06 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commitdcd631f13d0ce6658962fc01bbb2a6202970cc40 (patch)
tree5890486ed8715a5825a8c84d8709698172e301b3 /netrom
parenta8805c5ca391deaae4c58b697b2415db4b7401dc (diff)
netromt: Use symbolic pathnames from pathnames.h.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'netrom')
-rw-r--r--netrom/netromt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netrom/netromt.c b/netrom/netromt.c
index 064b7d3..54f2271 100644
--- a/netrom/netromt.c
+++ b/netrom/netromt.c
@@ -155,7 +155,7 @@ static void build_others(int s, int min_obs, struct full_sockaddr_ax25 *dest, in
if (ax25_aton_entry(callsign, message + len) == -1) {
if (logging)
- syslog(LOG_ERR, "netromt: invalid callsign '%s' in /proc/net/nr_nodes\n", callsign);
+ syslog(LOG_ERR, "netromt: invalid callsign '%s' in "PROC_NR_NODES_FILE"\n", callsign);
continue;
}
len += CALLSIGN_LEN;
@@ -166,7 +166,7 @@ static void build_others(int s, int min_obs, struct full_sockaddr_ax25 *dest, in
if (ax25_aton_entry(neighbour, message + len) == -1) {
if (logging)
- syslog(LOG_ERR, "netromt: invalid callsign '%s' in /proc/net/nr_neigh\n", neighbour);
+ syslog(LOG_ERR, "netromt: invalid callsign '%s' in "PROC_NR_NEIGH_FILE"\n", neighbour);
len -= (CALLSIGN_LEN + MNEMONIC_LEN);
continue;
}