aboutsummaryrefslogtreecommitdiff
path: root/libgomp/affinity-fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/affinity-fmt.c')
-rw-r--r--libgomp/affinity-fmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/affinity-fmt.c b/libgomp/affinity-fmt.c
index c423e35..9a5334d 100644
--- a/libgomp/affinity-fmt.c
+++ b/libgomp/affinity-fmt.c
@@ -37,10 +37,10 @@
#include <sys/utsname.h>
#endif
-void
+bool
gomp_print_string (const char *str, size_t len)
{
- fwrite (str, 1, len, stderr);
+ return fwrite (str, 1, len, stderr) != len;
}
void