[git commit 0_9_30] sparc: use fputs to write to stderr

Mike Frysinger vapier at gentoo.org
Thu Dec 17 12:42:26 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=7405c46c1d89ab1162d19c0902a08ef7d1b47547
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

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: Bernhard Reutner-Fischer <rep.dot.nop at gmail.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