diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-02 08:21:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-02 08:21:56 +0200 |
commit | 74a1b26ffb576205bbdc5e94aeb503306eb6aabc (patch) | |
tree | 5122c48de266fba24ea7dd1d4d8f40a4b6fe5951 /desktop/unx/source/pagein.c | |
parent | c4ed5807bda4d100c3fc053fbb3f738d3c2d24e3 (diff) |
-Werror,-Wlogical-not-parentheses
Change-Id: I0ed6445964523b17ca5635d4d26cd429ff60c294
Diffstat (limited to 'desktop/unx/source/pagein.c')
-rw-r--r-- | desktop/unx/source/pagein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/pagein.c b/desktop/unx/source/pagein.c index 03b26dc00419..181637fc94e4 100644 --- a/desktop/unx/source/pagein.c +++ b/desktop/unx/source/pagein.c @@ -52,7 +52,7 @@ int isRotational(char const * path) struct stat out; int major, minor; char type; - if( !stat( path , &out ) == 0) + if(stat( path , &out ) == -1) return 1; major = major(out.st_dev); minor = 0; /* minor(out.st_dev); only the device itself has a queue */ |