[git commit nptl] sparc: use fputs to write to stderr

Mike Frysinger vapier at gentoo.org
Mon Nov 9 21:17:04 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=a128ed797f0075f7f33ce060edd889e59261b4fc
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

This also has the advantage of fputs() having a hidden alias while
puts does not.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/sparc/qp_ops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/sparc/qp_ops.c b/libc/sysdeps/linux/sparc/qp_ops.c
index 5b0dc5e..123be53 100644
--- a/libc/sysdeps/linux/sparc/qp_ops.c
+++ b/libc/sysdeps/linux/sparc/qp_ops.c
@@ -5,7 +5,7 @@
 
 static void fakedef(void)
 {
-	puts("Unimplemented _Q* func called, exiting\n");
+	fputs("Unimplemented _Q* func called, exiting\n", stderr);
 	exit(-1);
 }
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list