diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 2702505f765..ab08cb5cfc3 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -119,6 +119,8 @@ if (ret < 0) { \ errno = -ret; \ ret = -1; \ + } else { \ + errno = 0; \ } \ } while (0) |