Commit 6f5859ec authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: Print unknown command number

Convenient for debugging
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 300a2007
...@@ -654,6 +654,6 @@ int __used parasite_service(unsigned int cmd, void *args) ...@@ -654,6 +654,6 @@ int __used parasite_service(unsigned int cmd, void *args)
return parasite_dump_tty(args); return parasite_dump_tty(args);
} }
pr_err("Unknown command to parasite\n"); pr_err("Unknown command to parasite: %d\n", cmd);
return -EINVAL; return -EINVAL;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment