Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
68
Issues
68
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
b3d594dd
Commit
b3d594dd
authored
Oct 19, 1999
by
Ted Lemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some more printf arguments.
parent
73a4b6e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
common/parse.c
common/parse.c
+7
-4
No files found.
common/parse.c
View file @
b3d594dd
...
...
@@ -22,7 +22,7 @@
#ifndef lint
static
char
copyright
[]
=
"$Id: parse.c,v 1.4
6 1999/10/14 17:58:42
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: parse.c,v 1.4
7 1999/10/19 15:26:50
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#include "dhcpd.h"
...
...
@@ -488,17 +488,20 @@ void convert_num (cfile, buf, str, base, size)
case
8
:
parse_warn
(
cfile
,
"%s%lo exceeds max (%d) for precision."
,
negative
?
"-"
:
""
,
val
,
max
);
negative
?
"-"
:
""
,
(
unsigned
long
)
val
,
max
);
break
;
case
16
:
parse_warn
(
cfile
,
"%s%lx exceeds max (%d) for precision."
,
negative
?
"-"
:
""
,
val
,
max
);
negative
?
"-"
:
""
,
(
unsigned
long
)
val
,
max
);
break
;
default:
parse_warn
(
cfile
,
"%s%lu exceeds max (%d) for precision."
,
negative
?
"-"
:
""
,
val
,
max
);
negative
?
"-"
:
""
,
(
unsigned
long
)
val
,
max
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment