9c57423cef
va_list is not a pointer. From NetBSD. ok shell@
22 lines
524 B
Plaintext
22 lines
524 B
Plaintext
$OpenBSD: patch-jnlib_logging_c,v 1.1 2002/11/30 16:04:05 naddy Exp $
|
|
--- jnlib/logging.c.orig Sat Nov 30 13:51:07 2002
|
|
+++ jnlib/logging.c Sat Nov 30 13:51:54 2002
|
|
@@ -226,14 +226,9 @@ log_printf( const char *fmt, ... )
|
|
{
|
|
va_list arg_ptr ;
|
|
|
|
- if( !fmt ) {
|
|
- do_logv( MY_LOG_BEGIN, NULL, NULL );
|
|
- }
|
|
- else {
|
|
- va_start( arg_ptr, fmt ) ;
|
|
- do_logv( MY_LOG_CONT, fmt, arg_ptr );
|
|
- va_end(arg_ptr);
|
|
- }
|
|
+ va_start( arg_ptr, fmt ) ;
|
|
+ do_logv( MY_LOG_CONT, fmt, arg_ptr );
|
|
+ va_end(arg_ptr);
|
|
}
|
|
|
|
|