Message ID | 20230424131137.698283414@linuxfoundation.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | None | expand |
--- a/scripts/asn1_compiler.c +++ b/scripts/asn1_compiler.c @@ -625,7 +625,7 @@ int main(int argc, char **argv) p = strrchr(argv[1], '/'); p = p ? p + 1 : argv[1]; grammar_name = strdup(p); - if (!p) { + if (!grammar_name) { perror(NULL); exit(1); }