diff options
| -rw-r--r-- | crypto/compat/posix_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c index 00d3d82..bc0fa36 100644 --- a/crypto/compat/posix_win.c +++ b/crypto/compat/posix_win.c | |||
| @@ -89,7 +89,7 @@ posix_open(const char *path, ...) | |||
| 89 | flags &= ~O_NONBLOCK; | 89 | flags &= ~O_NONBLOCK; |
| 90 | 90 | ||
| 91 | const int fh = open(path, flags, mode); | 91 | const int fh = open(path, flags, mode); |
| 92 | if (fh < 0) { | 92 | if (fh == -1) { |
| 93 | return fh; | 93 | return fh; |
| 94 | } | 94 | } |
| 95 | 95 | ||
