trans_cb: fix obvious error in REPOSYNC state.

This commit is contained in:
Juan RP 2011-07-29 11:12:34 +02:00
parent 3bbc6ae18d
commit e71e3e9958

View File

@ -120,7 +120,7 @@ transaction_err_cb(struct xbps_transaction_cb_data *xtcd)
break;
case XBPS_TRANS_STATE_REPOSYNC:
xbps_error_printf("Failed to sync pkg-index: %s\n",
xtcd->err);
strerror(xtcd->err));
return;
default:
state_descr = "unknown transaction state";