aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-02-15 06:12:38 -0600
committerRob Landley <rob@landley.net>2012-02-15 06:12:38 -0600
commitf4d6ff98f6a01e4383c9d6b1217240f4621fa342 (patch)
treedfa37afa904c2cb5e72478ab231fb1fc19b3c090
parent7bc392fa6298fd3aa0bc2b6d4e4956d205d42e7e (diff)
downloadtoybox-f4d6ff98f6a01e4383c9d6b1217240f4621fa342.tar.gz
Error message fix from Pere (gotrunks at gmail).
-rw-r--r--toys/link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/link.c b/toys/link.c
index c18dfef6..69a9a60f 100644
--- a/toys/link.c
+++ b/toys/link.c
@@ -22,6 +22,6 @@ config LINK
void link_main(void)
{
if (link(toys.optargs[0], toys.optargs[1]))
- perror_exit("couldn't link '%s' to '%s'", toys.optargs[0],
- toys.optargs[1]);
+ perror_exit("couldn't link '%s' to '%s'", toys.optargs[1],
+ toys.optargs[0]);
}