On 10 Feb, Dag-Erling Smørgrav wrote: If you don't minde a bit of bloat, maybe changing this: > openpam_log(PAM_LOG_DEBUG, "returning '%s'", (s)); \ to this: openpam_log(PAM_LOG_DEBUG, "returning '%s'", (s) != NULL ? (s) : ""); might quiet the warning.