From c5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 13 Mar 2006 15:45:16 +0000 Subject: Patch from Denis Vlasenko to add xstat() and use it. --- coreutils/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/ls.c') diff --git a/coreutils/ls.c b/coreutils/ls.c index a575a02cb..964e7c964 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -230,7 +230,7 @@ static struct dnode *my_stat(char *fullname, char *name) rc = getfilecon(fullname,&sid); } #endif - rc = stat(fullname, &dstat); + rc = stat(fullname, &dstat); if(rc) { bb_perror_msg("%s", fullname); status = EXIT_FAILURE; -- cgit v1.2.3