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
|
=* uname yes none
|
||||||
#* unexpand yes none
|
#* unexpand yes none
|
||||||
=* uniq yes none
|
=* uniq yes none
|
||||||
=* unlink yes none
|
=*| unlink yes none
|
||||||
=* uudecode yes none
|
=* uudecode yes none
|
||||||
=* uuencode yes none
|
=* uuencode yes none
|
||||||
#* wc yes none
|
#* wc yes none
|
||||||
|
|
1
link.c
1
link.c
|
@ -19,6 +19,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if (argc != 2)
|
if (argc != 2)
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
if (link(argv[0], argv[1]) < 0)
|
if (link(argv[0], argv[1]) < 0)
|
||||||
eprintf("link:");
|
eprintf("link:");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user