From: Eric Biggers Date: Fri, 31 Aug 2012 04:37:37 +0000 (-0500) Subject: ENOENT fix X-Git-Tag: v1.0.0~25 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=3b293f2984ccd95cf58363ae448deda14224d310 ENOENT fix --- 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