xbps-bin: fix swapped args in check_pkg_symlinks.

This commit is contained in:
Juan RP 2012-05-25 14:28:12 +02:00
parent b54eb6920a
commit a14886ab48

View File

@ -94,9 +94,9 @@ check_pkg_symlinks(const char *pkgname, void *arg, bool *pkgdb_update)
path = buf;
if (strcmp(path, tgt)) {
xbps_error_printf("%s: modified symlink `%s', "
"target: `%s' (shall be: `%s')\n",
pkgname, file, tgt, path);
xbps_error_printf("%s: modified symlink `%s' "
"points to: `%s' (shall be: `%s')\n",
pkgname, file, path, tgt);
test_broken = true;
}
path = NULL;