]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcpcd: Report error when caching vendor
authorRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 11:52:42 +0000 (12:52 +0100)
committerRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 11:52:42 +0000 (12:52 +0100)
src/dhcpcd.c

index 4907523ec78186c8293a9f2adaf3abb553a62b8f..cc9ebcbeddbd3b9ed067d94f4ca1c8b018bd3d51 100644 (file)
@@ -2325,7 +2325,7 @@ printpidfile:
 
        /* Cache the default vendor option. */
        if (dhcp_vendor(ctx.vendor, sizeof(ctx.vendor)) == -1)
-               logerrx("dhcp_vendor");
+               logerr("dhcp_vendor");
 
        /* Start handling kernel messages for interfaces, addresses and
         * routes. */