From 6f7081bdc46c80739180a02aba4f30f2877c2e3f Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Thu, 15 Feb 2001 22:17:05 +0000 Subject: [PATCH] Format fix: %d -> %ld, (long int) cast. --- client/dhclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dhclient.c b/client/dhclient.c index bb4a7de5..4898da07 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 ()); } }