summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-29 04:09:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-29 04:09:28 +0000
commit3aff32a03ff8529989915d9c5450af9cefd7ee38 (patch)
treee6554e23db653469c9802487014010a35cee3684 /sbin/dhclient/dispatch.c
parenta652f988dfa9a2e2c1c9cfca94dff4dbb275a3cf (diff)
snuck in a typo, damnit
Diffstat (limited to 'sbin/dhclient/dispatch.c')
-rw-r--r--sbin/dhclient/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index 5ce380f61cb..38ca77f17aa 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.33 2006/08/29 03:55:09 deraadt Exp $ */
+/* $OpenBSD: dispatch.c,v 1.34 2006/08/29 04:09:27 deraadt Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -271,7 +271,7 @@ int
interface_link_forceup(char *ifname)
{
struct ifreq ifr;
- int sock, ret = 0;
+ int sock;
if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
error("Can't create socket");