git.annexia.org
/
virt-hostinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hostinfo day 5: Implement first round of static host commands.
[virt-hostinfo.git]
/
hostinfod
/
ping.c
diff --git
a/hostinfod/ping.c
b/hostinfod/ping.c
index
4a79f8c
..
daa9dcf
100644
(file)
--- a/
hostinfod/ping.c
+++ b/
hostinfod/ping.c
@@
-34,7
+34,8
@@
ping (struct guest_description *hval,
size_t i, len;
if (get_args (args, "s", &echodata) == -1) {
size_t i, len;
if (get_args (args, "s", &echodata) == -1) {
- warning ("%s: %s: wrong number of type of arguments", hval->name, "ping");
+ warning ("%s: %s: wrong number or type of arguments", hval->name,
+ __func__);
send_error (hval, 400);
return;
}
send_error (hval, 400);
return;
}