diff --git a/src/runtime/c/utils/pgf-print.c b/src/runtime/c/utils/pgf-print.c index 12d81a7c5..b93acb40e 100644 --- a/src/runtime/c/utils/pgf-print.c +++ b/src/runtime/c/utils/pgf-print.c @@ -14,7 +14,7 @@ int main(int argc, char* argv[]) { // Set the character locale, so we can produce proper output. setlocale(LC_CTYPE, ""); - if (argc != 1) { + if (argc != 2) { fprintf(stderr, "usage: %s pgf\n", argv[0]); return EXIT_FAILURE; }