Audit unlink(1)
One small thing, use argv0 in usage. Also, add a blank line in link.c which I forgot earlier.
This commit is contained in:
parent
b9b28d4039
commit
39b9aab25a
2
README
2
README
|
@ -82,7 +82,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
|
|||
=* uname yes none
|
||||
#* unexpand yes none
|
||||
=* uniq yes none
|
||||
=* unlink yes none
|
||||
=*| unlink yes none
|
||||
=* uudecode yes none
|
||||
=* uuencode yes none
|
||||
#* wc yes none
|
||||
|
|
1
link.c
1
link.c
|
@ -19,6 +19,7 @@ main(int argc, char *argv[])
|
|||
|
||||
if (argc != 2)
|
||||
usage();
|
||||
|
||||
if (link(argv[0], argv[1]) < 0)
|
||||
eprintf("link:");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user