summaryrefslogtreecommitdiffstats
path: root/cpukit/httpd/uemf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/httpd/uemf.c')
-rw-r--r--cpukit/httpd/uemf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/httpd/uemf.c b/cpukit/httpd/uemf.c
index a9302f989c..ef7c8f3135 100644
--- a/cpukit/httpd/uemf.c
+++ b/cpukit/httpd/uemf.c
@@ -30,6 +30,10 @@ int emfInst; /* Application instance handle */
void error(E_ARGS_DEC, int flags, char_t *fmt, ...)
{
+ va_list arglist;
+
+ va_start(arglist, fmt);
+
if (flags & E_LOG) {
/* Log error message */
@@ -40,6 +44,9 @@ void error(E_ARGS_DEC, int flags, char_t *fmt, ...)
/* Display message to the user */
}
+
+ vprintf (fmt, arglist);
+ va_end(arglist);
}
/******************************************************************************/