diff options
author | Ted Lemon <source@isc.org> | 1996-08-27 09:52:46 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-08-27 09:52:46 +0000 |
commit | 898bc0487df574fd4566880b2d8616f7be687aaf (patch) | |
tree | 9e52c9759256a72dcaedee9fcdc262b7a05e7e5f | |
parent | b929e84e03cf290000edd00634f614e5e66be673 (diff) | |
download | isc-dhcp-898bc0487df574fd4566880b2d8616f7be687aaf.tar.gz |
Fix printf prototypes (again)
-rw-r--r-- | common/options.c | 6 | ||||
-rw-r--r-- | options.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/common/options.c b/common/options.c index c7943e6a..8558d8bf 100644 --- a/common/options.c +++ b/common/options.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"@(#) Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: options.c,v 1.17 1996/08/27 09:52:46 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #define DHCP_OPTION_DATA @@ -477,11 +477,11 @@ char *pretty_print_option (code, data, len) dp += 4; break; case 'l': - sprintf (op, "%d", getLong (dp)); + sprintf (op, "%ld", getLong (dp)); /* XXX */ dp += 4; break; case 'L': - sprintf (op, "%d", getULong (dp)); + sprintf (op, "%ld", getULong (dp)); /* XXX */ dp += 4; break; case 's': @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"@(#) Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: options.c,v 1.17 1996/08/27 09:52:46 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #define DHCP_OPTION_DATA @@ -477,11 +477,11 @@ char *pretty_print_option (code, data, len) dp += 4; break; case 'l': - sprintf (op, "%d", getLong (dp)); + sprintf (op, "%ld", getLong (dp)); /* XXX */ dp += 4; break; case 'L': - sprintf (op, "%d", getULong (dp)); + sprintf (op, "%ld", getULong (dp)); /* XXX */ dp += 4; break; case 's': |