]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Correct printf argument type (Brian Murrell)
authorTed Lemon <source@isc.org>
Thu, 14 Oct 1999 17:47:54 +0000 (17:47 +0000)
committerTed Lemon <source@isc.org>
Thu, 14 Oct 1999 17:47:54 +0000 (17:47 +0000)
common/dlpi.c
common/nsupdate.c

index 59da6962bdbbb3c03f7c6bbd043071753b6ea7f2..57db418d0fbffcb020346d8868c5b73d93548385 100644 (file)
@@ -70,7 +70,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dlpi.c,v 1.15 1999/10/07 06:47:50 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dlpi.c,v 1.16 1999/10/14 17:44:02 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -221,7 +221,7 @@ int if_register_dlpi (info)
                info -> hw_address.htype = HTYPE_FDDI;
                break;
              default:
-               log_fatal ("%s: unknown DLPI MAC type %d",
+               log_fatal ("%s: unknown DLPI MAC type %ld",
                       info -> name,
                       dlp -> info_ack.dl_mac_type);
                break;
index ef48ff5a19a55af2e35f4a64bc13d81745d45727..96258c41bb4a608a73bf9d134c7d554a036e7f2d 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: nsupdate.c,v 1.11 1999/10/07 06:35:43 mellon Exp $ Copyright (c) 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: nsupdate.c,v 1.12 1999/10/14 17:47:54 mellon Exp $ Copyright (c) 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -257,7 +257,7 @@ int nsupdateA (hostname, ip_addr, ttl, opcode)
                break;
        }
        z = res_update (u);
-       log_info ("%s %s: %s %d IN A %s", opcode == ADD ? "add" : "delete",
+       log_info ("%s %s: %s %ld IN A %s", opcode == ADD ? "add" : "delete",
                  z == 1 ? "succeeded" : "failed", NAME (hostname), ttl,
                  NAME (u -> r_data));
 #if 0
@@ -331,7 +331,7 @@ int nsupdatePTR (revname, hostname, ttl, opcode)
                break;
        }
        z = res_update(u);
-       log_info ("%s %s: %s %d IN PTR %s", opcode == ADD ? "add" : 
+       log_info ("%s %s: %s %ld IN PTR %s", opcode == ADD ? "add" : 
                  "delete", z == 1 ? "succeeded" : "failed",
                  NAME (revname), ttl, NAME (u -> r_data));
 #if 0