summaryrefslogtreecommitdiff
path: root/user/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/ln.c')
-rw-r--r--user/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/ln.c b/user/ln.c
index 482dd79..0bb0c95 100644
--- a/user/ln.c
+++ b/user/ln.c
@@ -6,10 +6,10 @@ int
main(int argc, char *argv[])
{
if(argc != 3){
- printf(2, "Usage: ln old new\n");
+ fprintf(2, "Usage: ln old new\n");
exit();
}
if(link(argv[1], argv[2]) < 0)
- printf(2, "link %s %s: failed\n", argv[1], argv[2]);
+ fprintf(2, "link %s %s: failed\n", argv[1], argv[2]);
exit();
}