http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Settings] show_setting() functions return snprintf()-style length.
[people/mcb30/gpxe.git]
/
src
/
hci
/
commands
/
nvo_cmd.c
diff --git
a/src/hci/commands/nvo_cmd.c
b/src/hci/commands/nvo_cmd.c
index
4392787
..
4c453c7
100644
(file)
--- a/
src/hci/commands/nvo_cmd.c
+++ b/
src/hci/commands/nvo_cmd.c
@@
-28,7
+28,7
@@
static int show_exec ( int argc, char **argv ) {
dummy_context.options = ugly_nvo_hack->options;
if ( ( rc = show_named_setting ( &dummy_context, argv[1], buf,
- sizeof ( buf ) ) )
!=
0 ) {
+ sizeof ( buf ) ) )
<
0 ) {
printf ( "Could not find \"%s\": %s\n",
argv[1], strerror ( -rc ) );
return 1;