check-racy.c: use error_errno()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
8d19e93094
commit
eb031a5801
|
@ -12,7 +12,7 @@ int main(int ac, char **av)
|
|||
struct stat st;
|
||||
|
||||
if (lstat(ce->name, &st)) {
|
||||
error("lstat(%s): %s", ce->name, strerror(errno));
|
||||
error_errno("lstat(%s)", ce->name);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue