summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-08-27 09:52:46 +0000
committerTed Lemon <source@isc.org>1996-08-27 09:52:46 +0000
commit898bc0487df574fd4566880b2d8616f7be687aaf (patch)
tree9e52c9759256a72dcaedee9fcdc262b7a05e7e5f
parentb929e84e03cf290000edd00634f614e5e66be673 (diff)
downloadisc-dhcp-898bc0487df574fd4566880b2d8616f7be687aaf.tar.gz
Fix printf prototypes (again)
-rw-r--r--common/options.c6
-rw-r--r--options.c6
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':
diff --git a/options.c b/options.c
index c7943e6a..8558d8bf 100644
--- a/options.c
+++ b/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':