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

Mike Frysinger vapier at gentoo.org
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=09f8e01cc53ee7c68819a8d626f12e39139ec7aa
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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