aboutsummaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
Diffstat (limited to 'slock.c')
-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)
case XK_Return:
passwd[len] = 0;
#ifdef HAVE_BSD_AUTH
- running = !auth_userokay(getlogin(), NULL, "auth-xlock", passwd);
+ running = !auth_userokay(getlogin(), NULL, "auth-slock", passwd);
#else
running = !!strcmp(crypt(passwd, pws), pws);
#endif