summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorNorbert Lange2020-02-14 22:16:11 +0100
committerDenys Vlasenko2020-06-29 14:11:03 +0200
commit79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c (patch)
tree351dae4db7ae06c0ddc18580f8e390f65b19b13a /networking
parent05faa6103bf85ecf362ad677ce761e2266311e3b (diff)
downloadbusybox-79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c.zip
busybox-79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c.tar.gz
acpid: only display -p if supported in usage
Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/dhcpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 6075689..acfdaa8 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -46,7 +46,7 @@
#include "dhcpc.h"
#include "dhcpd.h"
-#if ENABLE_PID_FILE_PATH == 1
+#if ENABLE_PID_FILE_PATH
#define PID_FILE_PATH CONFIG_PID_FILE_PATH
#else
#define PID_FILE_PATH "/var/run"