X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hostinfod%2Fping.c;h=daa9dcf48e66437400b38f4045808f721e0e1108;hb=f71a10c6282c56aac97e8b1651e018e5d63c7a4b;hp=4a79f8cef914cebfabeca5096940dc05fec79d33;hpb=b35d7170994157c60410c9d792e0a63ddf912d9b;p=virt-hostinfo.git diff --git a/hostinfod/ping.c b/hostinfod/ping.c index 4a79f8c..daa9dcf 100644 --- 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) { - 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; }