Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
vcs-svn: use error_errno()
[gitweb.git]
/
check-racy.c
diff --git
a/check-racy.c
b/check-racy.c
index 00d92a16631a80ff8ec4e995dafcd3e55434fad5..24b6542352a60006ac23c09a7cc17fb3aef009fa 100644
(file)
--- 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;
}