diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-06 23:35:55 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-06 23:35:55 +0000 |
commit | e49566c2e21fcd16980e5110495645c5ae5a36da (patch) | |
tree | 0e87bcc51727445d043fbefec86cacc18700c856 /source/include/debug.h | |
parent | 4862d2ab1163310d844b929fb17239b4f4cb1a99 (diff) | |
download | samba-e49566c2e21fcd16980e5110495645c5ae5a36da.tar.gz samba-e49566c2e21fcd16980e5110495645c5ae5a36da.tar.xz samba-e49566c2e21fcd16980e5110495645c5ae5a36da.zip |
Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
Diffstat (limited to 'source/include/debug.h')
-rw-r--r-- | source/include/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/debug.h b/source/include/debug.h index e59a45cba11..3130bc379dd 100644 --- a/source/include/debug.h +++ b/source/include/debug.h @@ -40,12 +40,12 @@ #ifdef HAVE_STDARG_H int Debug1( char *, ... ) #ifdef __GNUC__ - __attribute__ ((format (printf, 1, 2))) + __attribute__ ((format (__printf__, 1, 2))) #endif ; BOOL dbgtext( char *, ... ) #ifdef __GNUC__ - __attribute__ ((format (printf, 1, 2))) + __attribute__ ((format (__printf__, 1, 2))) #endif ; #else |