Fix for dbg_log patch

Andreas Jaeger aj@suse.de
Fri Dec 8 11:19:00 GMT 2000


My last patch used the wrong argument.  I've committed the appended
patch.

Andreas

2000-12-08  Andreas Jaeger  <aj@suse.de>

	* nscd/dbg_log.h: Correct attribute declaration.

============================================================
Index: nscd/dbg_log.h
--- nscd/dbg_log.h	2000/12/08 17:08:10	1.3
+++ nscd/dbg_log.h	2000/12/08 19:17:01
@@ -1,4 +1,4 @@
-/* Copyright (c) 1998 Free Software Foundation, Inc.
+/* Copyright (c) 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
 
@@ -23,7 +23,7 @@
 extern int debug_level;
 
 extern void dbg_log (const char *str, ...)
-     __attribute__ ((__format__ (__printf__, 1, 0)));;
+     __attribute__ ((__format__ (__printf__, 1, 2)));;
 
 extern int set_logfile (const char *logfile);
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-hacker mailing list