Error message fix from Pere (gotrunks at gmail).
authorRob Landley <rob@landley.net>
Wed, 15 Feb 2012 12:12:38 +0000 (06:12 -0600)
committerRob Landley <rob@landley.net>
Wed, 15 Feb 2012 12:12:38 +0000 (06:12 -0600)
toys/link.c

index c18dfef..69a9a60 100644 (file)
@@ -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]);
 }