summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inotail.c b/inotail.c
index 1162516..dca2605 100644
--- a/inotail.c
+++ b/inotail.c
@@ -21,6 +21,7 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#define _FILE_OFFSET_BITS 64
#define _GNU_SOURCE
#include <stdio.h>
>b46b9d1aadf7f31eb5c0bab20cd61e71011156cf (diff)
crypto: drbg - fix error return code
Fix to return a negative error code from the error handling case instead of 0. Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Acked-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/drbg.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c