summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-04 18:58:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-04 18:58:51 +0000
commit827bf4599afcc82fb73f3e1878d0a8f1d844c082 (patch)
tree24b5130ef8583a7283596a9dfcd8f30d10a91f81 /sbin/dhclient/clparse.c
parent2bcbcadf73ccafdf58efa86d49cd78457540582d (diff)
more shrink and lint fixes; henning ok
Diffstat (limited to 'sbin/dhclient/clparse.c')
-rw-r--r--sbin/dhclient/clparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c
index 751f80f5d29..248d71d073a 100644
--- a/sbin/dhclient/clparse.c
+++ b/sbin/dhclient/clparse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clparse.c,v 1.12 2004/03/02 18:49:21 deraadt Exp $ */
+/* $OpenBSD: clparse.c,v 1.13 2004/05/04 18:58:50 deraadt Exp $ */
/* Parser for dhclient config and lease files... */
@@ -882,7 +882,7 @@ parse_string_list(FILE *cfile, struct string_list **lp, int multiple)
return;
}
- tmp = new_string_list(strlen(val) + 1, "parse tmp");
+ tmp = new_string_list(strlen(val) + 1);
if (tmp == NULL)
error("no memory for string list entry.");
strlcpy(tmp->string, val, strlen(val) + 1);