changeset 465:ab6c0adfcc10

Error message fix from Pere (gotrunks at gmail).
author Rob Landley <rob@landley.net>
date Wed, 15 Feb 2012 06:12:38 -0600
parents 9e1fe8e287a2
children 9f1e089262cb
files toys/link.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/toys/link.c	Wed Feb 15 05:55:38 2012 -0600
+++ b/toys/link.c	Wed Feb 15 06:12:38 2012 -0600
@@ -22,6 +22,6 @@
 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]);
 }