Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-05-08 12:47:35 +0300
committerJunio C Hamano <gitster@pobox.com>2016-05-09 22:29:08 +0300
commiteb031a580163b396ff0e4ee0f219758b517380d5 (patch)
tree519e2fe50fc5eda15c23187325d4ac46e52db387 /check-racy.c
parent8d19e9309411ca875928b9336ff626b8b6851fcb (diff)
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>
Diffstat (limited to 'check-racy.c')
-rw-r--r--check-racy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-racy.c b/check-racy.c
index 00d92a16631..24b6542352a 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;
}