diff options
Diffstat (limited to 'src/exec-as.c')
-rw-r--r-- | src/exec-as.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exec-as.c b/src/exec-as.c index d6c4b15..8224cff 100644 --- a/src/exec-as.c +++ b/src/exec-as.c @@ -27,12 +27,12 @@ int main(int argc, char** argv) if (argc < 3) { - fprintf(stderr, "%s: %s", execname, + fprintf(stderr, "%s: %s", argc ? argv[0] : "exec-as", "Too few arguments, you need atleast " "the file to run and its argv[0]."); goto fail; } - + execname = argv[0]; file = argv[1]; |