summaryrefslogtreecommitdiff
path: root/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'ln.c')
-rw-r--r--ln.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ln.c b/ln.c
deleted file mode 100644
index cf8a64e..0000000
--- a/ln.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "types.h"
-#include "stat.h"
-#include "user.h"
-
-int
-main(int argc, char *argv[])
-{
- if(argc != 3){
- printf(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]);
- exit();
-}