aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);
}