X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftalloc%2F_info.c;h=95c91536b3fafa98d9cac86917d248d7c5bbbbd7;hb=4df5a75fd90bfcd42dedb3bfa83e85b57fd9f63c;hp=2a978801cdb4fd87d2309e9891339e09fb3ec999;hpb=aa722914ca280ad0c4d133118ad1deebe41e1f5e;p=ccan diff --git a/ccan/talloc/_info.c b/ccan/talloc/_info.c index 2a978801..95c91536 100644 --- a/ccan/talloc/_info.c +++ b/ccan/talloc/_info.c @@ -31,9 +31,9 @@ * #include * #include * #include - * #include "talloc/talloc.h" + * #include * - * // A structure containing a popened comman. + * // A structure containing a popened command. * struct command * { * FILE *f; @@ -79,7 +79,7 @@ * struct command *cmd; * * if (argc != 2) - * errx(1, "Usage: %s \n"); + * errx(1, "Usage: %s \n", argv[0]); * * cmd = open_output_cmd(NULL, "%s hello", argv[1]); * if (!cmd)