summaryrefslogtreecommitdiff
path: root/check-racy.c
diff options
context:
space:
mode:
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 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;
}