aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-08-31 00:56:13 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-31 00:56:13 +0200
commitb87bfa234378bcfc1b13273c5089f07902de1725 (patch)
tree479343b7abaa677bf91c056c97c276de2064c887
parentc2f975773d720e734dbdab9a1e9ae51b0972ae0c (diff)
Update bsd-auth string.
Thanks to Hiltjo for discovering this.
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index dd32374..847b328 100644
--- a/slock.c
+++ b/slock.c
@@ -157,7 +157,7 @@ readpw(Display *dpy, const char *pws)
157 case XK_Return: 157 case XK_Return:
158 passwd[len] = 0; 158 passwd[len] = 0;
159#ifdef HAVE_BSD_AUTH 159#ifdef HAVE_BSD_AUTH
160 running = !auth_userokay(getlogin(), NULL, "auth-xlock", passwd); 160 running = !auth_userokay(getlogin(), NULL, "auth-slock", passwd);
161#else 161#else
162 running = !!strcmp(crypt(passwd, pws), pws); 162 running = !!strcmp(crypt(passwd, pws), pws);
163#endif 163#endif