summaryrefslogtreecommitdiff
path: root/libpam/pam_private.h
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2004-09-15 12:06:17 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2004-09-15 12:06:17 +0000
commite1f75a80821125170e23a9b920d138a4a952c708 (patch)
tree06b15c3d9d4fa69fad768cb5071bb4bfc80f9d92 /libpam/pam_private.h
parentd7987be1aade2b11454a8b3b3d8e9c1c3df93d5f (diff)
Relevant BUGIDs:
Purpose of commit: Commit summary: --------------- bugfix: Add parts of Steve Grubb's resource leak and other fixes
Diffstat (limited to 'libpam/pam_private.h')
-rw-r--r--libpam/pam_private.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libpam/pam_private.h b/libpam/pam_private.h
index 7afc4fa7..1fbd9812 100644
--- a/libpam/pam_private.h
+++ b/libpam/pam_private.h
@@ -250,7 +250,13 @@ void _pam_set_default_control(int *control_array, int default_action);
void _pam_parse_control(int *control_array, char *tok);
-void _pam_system_log(int priority, const char *format, ... );
+void _pam_system_log(int priority, const char *format, ... )
+#ifdef __GNUC__
+ __attribute__ ((format (printf, 2, 3)));
+#else
+ ;
+#endif
+
#define _PAM_SYSTEM_LOG_PREFIX "PAM "
/*