Skip to content

Commit eb031a5

Browse files
pcloudsgitster
authored andcommitted
check-racy.c: use error_errno()
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8d19e93 commit eb031a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-racy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main(int ac, char **av)
1212
struct stat st;
1313

1414
if (lstat(ce->name, &st)) {
15-
error("lstat(%s): %s", ce->name, strerror(errno));
15+
error_errno("lstat(%s)", ce->name);
1616
continue;
1717
}
1818

0 commit comments

Comments
 (0)