]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile without DHCP or DHCP6
authorRoy Marples <roy@marples.name>
Mon, 1 Jun 2020 14:38:51 +0000 (15:38 +0100)
committerRoy Marples <roy@marples.name>
Mon, 1 Jun 2020 14:38:51 +0000 (15:38 +0100)
src/dhcpcd.c

index a5fd74123141e50eb156fcadad404b619291a0bf..c9bd98cc38c582a4d55e65e9c97aa86daa471461 100644 (file)
@@ -2102,7 +2102,7 @@ printpidfile:
                        break;
 #else
                        logerrx("No DHCP support");
-                       goto exit_failure
+                       goto exit_failure;
 #endif
                case AF_INET6:
 #ifdef DHCP6
@@ -2111,7 +2111,7 @@ printpidfile:
                        break;
 #else
                        logerrx("No DHCP6 support");
-                       goto exit_failure
+                       goto exit_failure;
 #endif
                default:
                        logerrx("Family not specified. Please use -4 or -6.");