From: Nguyễn Thái Ngọc Duy Date: Sun, 8 May 2016 09:47:35 +0000 (+0700) Subject: check-racy.c: use error_errno() X-Git-Tag: v2.9.0-rc0~30^2~26 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/eb031a580163b396ff0e4ee0f219758b517380d5 check-racy.c: use error_errno() Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/check-racy.c b/check-racy.c index 00d92a1663..24b6542352 100644 --- a/check-racy.c +++ b/check-racy.c @@ -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; }