From: Ted Lemon Date: Sat, 29 Jan 2000 16:15:52 +0000 (+0000) Subject: Fix a call to dmalloc. X-Git-Tag: V3-BETA-2-PATCH-1~373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41b62b6604d14a305c925715d3f409cb85446926;p=thirdparty%2Fdhcp.git Fix a call to dmalloc. --- diff --git a/common/discover.c b/common/discover.c index e481e61c9..2c52bf784 100644 --- a/common/discover.c +++ b/common/discover.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: discover.c,v 1.21 2000/01/28 20:30:31 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: discover.c,v 1.22 2000/01/29 16:15:52 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -336,10 +336,10 @@ void discover_interfaces (state) /* Otherwise, allocate one. */ tmp = ((struct interface_info *) - dmalloc (sizeof *tmp, "discover_interfaces")); + dmalloc (sizeof *tmp, MDL)); if (!tmp) log_fatal ("Insufficient memory to %s %s", - "record interface", name); + "record interface", name); memset (tmp, 0, sizeof *tmp); strcpy (tmp -> name, name);