From 70a84a356b1c56743618362867b9300007d11998 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 15:58:40 -0600 Subject: Patches from Elliott Hughes to add missing arguments to error_exit() calls. --- toys/posix/ln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/ln.c') diff --git a/toys/posix/ln.c b/toys/posix/ln.c index 04b4f292..06700dd0 100644 --- a/toys/posix/ln.c +++ b/toys/posix/ln.c @@ -40,7 +40,7 @@ void ln_main(void) if (((toys.optflags&FLAG_n) ? lstat : stat)(dest, &buf) || !S_ISDIR(buf.st_mode)) { - if (toys.optc>1) error_exit("'%s' not a directory"); + if (toys.optc>1) error_exit("'%s' not a directory", dest); buf.st_mode = 0; } -- cgit v1.2.3