Displaying 1 result from an estimated 1 matches for "2c61025".
Did you mean:
20061025
2012 May 29
0
[klibc:master] capabilities: Use fflush() instead of fseek ()
...error checking.
Reported-by: H. Peter Anvin <hpa at zytor.com>
Signed-off-by: maximilian attems <max at stro.at>
---
usr/kinit/capabilities.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/kinit/capabilities.c b/usr/kinit/capabilities.c
index c606144..2c61025 100644
--- a/usr/kinit/capabilities.c
+++ b/usr/kinit/capabilities.c
@@ -167,9 +167,9 @@ static void do_usermodehelper_file(const char *filename, int cap_ordinal)
hi32 &= ~(1 << (cap_ordinal - 32));
/* Commit the new bit masks to the kernel */
- ret = fseek(file, 0L, SEEK_SET);
+ r...