diff --git a/main.c b/main.c index 4e5ec09..6fec196 100644 --- a/main.c +++ b/main.c @@ -66,8 +66,9 @@ int main(int argc, const char** argv) if (argc == 1) { - printf("Usage: pidjail PROGRAM ARGUMENTS...\n" - "Run command within its own pid namespace. Integrated init process.\n"); + fprintf(stderr,"Usage: %s PROGRAM ARGUMENTS...\n" + "Run command within its own pid namespace. Integrated init process.\n", + argv[0]); return 0; }