From 3b293f2984ccd95cf58363ae448deda14224d310 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 30 Aug 2012 23:37:37 -0500 Subject: [PATCH] ENOENT fix --- programs/imagex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/imagex.c b/programs/imagex.c index c02ce6f6..5c5d42bc 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -623,7 +623,7 @@ static int imagex_capture(int argc, const char **argv) goto out_write; } } else { - if (errno != -ENOENT) + if (errno != ENOENT) imagex_error_with_errno("Failed to stat `%s'", dir); } #endif -- 2.43.0