This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for dbg_log patch



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]