diff options
author | aiju <devnull@localhost> | 2020-01-08 02:27:09 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2020-01-08 02:27:09 +0000 |
commit | 826c76f90df66a9b20a3cf279bfb47d4d27322af (patch) | |
tree | ea6f373a974cb9ed831d3e928e86d57d4eb08424 /sys | |
parent | 76ed5d2e4b0279eea6dd6e3ddb03690d027b059d (diff) |
dumb bug
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/cmd/aux/aout2uimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/aux/aout2uimage.c b/sys/src/cmd/aux/aout2uimage.c index 8898a6df7..b8b39e134 100644 --- a/sys/src/cmd/aux/aout2uimage.c +++ b/sys/src/cmd/aux/aout2uimage.c @@ -121,7 +121,7 @@ main(int argc, char **argv) if(iname != nil) iname++; else - iname = argv[1]; + iname = argv[0]; if(ofile == nil) ofile = smprint("%s.u", iname); outfd = create(ofile, OWRITE|OTRUNC, 0666); if(outfd < 0) sysfatal("create: %r"); |