summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index ed5b165bd..d64802371 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -68,8 +68,7 @@
#endif
#if !defined(SSHD_PAM_SERVICE)
-extern char *__progname;
-# define SSHD_PAM_SERVICE __progname
+# define SSHD_PAM_SERVICE "sshd"
#endif
/* OpenGroup RFC86.0 and XSSO specify no "const" on arguments */