diff --git a/bin/xbps-checkvers/main.c b/bin/xbps-checkvers/main.c index 896053cc..c1bc97c1 100644 --- a/bin/xbps-checkvers/main.c +++ b/bin/xbps-checkvers/main.c @@ -622,7 +622,7 @@ rcv_process_dir(rcv_t *rcv, const char *path, rcv_proc_func process) error: if (errors > 0 || !dir) { fprintf(stderr, "Error: while processing dir '%s': %s\n", path, - strerror(errors)); + strerror(errno)); exit(1); }