#ifndef lint
static char copyright[] =
-"$Id: dhclient.c,v 1.43 1997/11/20 04:19:21 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhclient.c,v 1.44 1997/12/06 04:02:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (!pf)
warn ("Can't fdopen %s: %m", path_dhclient_pid);
else {
- fprintf (pf, "%d\n", getpid ());
+ fprintf (pf, "%ld\n", (long)getpid ());
fclose (pf);
}
}
#ifndef lint
static char copyright[] =
-"$Id: dhcrelay.c,v 1.8 1997/11/22 07:55:36 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.9 1997/12/06 04:03:04 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
warn ("Can't fdopen %s: %m",
path_dhcrelay_pid);
else {
- fprintf (pf, "%d\n", getpid ());
+ fprintf (pf, "%ld\n", (long)getpid ());
fclose (pf);
}
}