Hostinfo day 5: Implement first round of static host commands.
[virt-hostinfo.git] / hostinfod / ping.c
index 4a79f8c..daa9dcf 100644 (file)
@@ -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;
   }