From: Damien Neil Date: Thu, 15 Feb 2001 22:17:05 +0000 (+0000) Subject: Format fix: %d -> %ld, (long int) cast. X-Git-Tag: V3-BETA-2-PATCH-18~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f7081bdc46c80739180a02aba4f30f2877c2e3f;p=thirdparty%2Fdhcp.git Format fix: %d -> %ld, (long int) cast. --- diff --git a/client/dhclient.c b/client/dhclient.c index bb4a7de50..4898da079 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -41,7 +41,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhclient.c,v 1.120 2001/02/12 19:26:35 mellon Exp $ Copyright (c) 1995-2001 Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.121 2001/02/15 22:17:05 neild Exp $ Copyright (c) 1995-2001 Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -2243,7 +2243,7 @@ void script_init (client, reason, medium) "", "medium", "%s", medium -> string); client_envadd (client, "", "reason", "%s", reason); - client_envadd (client, "", "pid", "%d", getpid ()); + client_envadd (client, "", "pid", "%ld", (long int)getpid ()); } }