From 3a53d5117b8abe07a91575bc105680231310f0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 11 Jul 2013 16:36:02 +0000 Subject: [PATCH] Document that openpam_log(3) saves and restores errno(2). git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@686 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- lib/libpam/openpam_log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libpam/openpam_log.c b/lib/libpam/openpam_log.c index e7d832c..b84a57b 100644 --- a/lib/libpam/openpam_log.c +++ b/lib/libpam/openpam_log.c @@ -168,4 +168,6 @@ _openpam_log(int level, const char *func, const char *fmt, ...) * * The remaining arguments are a =printf format string and the * corresponding arguments. + * + * The =openpam_log function does not modify the value of :errno. */