dhcpd: string reuse
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 30 Mar 2016 16:44:52 +0000 (18:44 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 30 Mar 2016 16:44:52 +0000 (18:44 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/dhcpd.c

index 79677ee9379a29e0bc8c7eedde01833cf0eb934c..2671ea3e29ff9a06c2fc25494461d33388fd8a65 100644 (file)
@@ -226,7 +226,7 @@ static NOINLINE void send_NAK(struct dhcp_packet *oldpacket)
 
        init_packet(&packet, oldpacket, DHCPNAK);
 
-       log1("sending NAK");
+       log1("sending %s", "NAK");
        send_packet(&packet, /*force_bcast:*/ 1);
 }