summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-06-30 14:24:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-06-30 14:24:44 +0000
commit1ac8ae446af753ec1bdbb789d7b575a72ff56e8f (patch)
treeb15b4cb4a7608aa3d249fd8b1d10b10b426f7859
parentaa70253cbbe65aee58a3715970f6758daf2093d5 (diff)
remove \n from warning message string
-rw-r--r--src/mesa/main/imports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 95116ca91e..fec0d33844 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -881,9 +881,9 @@ _mesa_warning( GLcontext *ctx, const char *fmtString, ... )
#endif
if (debug) {
#if defined(XFree86LOADER) && defined(IN_MODULE)
- xf86fprintf(stderr, "Mesa warning: %s\n", str);
+ xf86fprintf(stderr, "Mesa warning: %s", str);
#else
- fprintf(stderr, "Mesa warning: %s\n", str);
+ fprintf(stderr, "Mesa warning: %s", str);
#endif
}
}