From b88329b66d7f900c8211fd38f19df5eb28271669 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 21 Aug 2016 01:54:32 -0400 Subject: [PATCH] Fix spelling error --- slock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slock.c b/slock.c index 1935283..0f1d585 100644 --- a/slock.c +++ b/slock.c @@ -736,7 +736,7 @@ main(int argc, char **argv) { #ifndef HAVE_BSD_AUTH pws = getpw(); - if (strlen(pwd) < 2) { + if (strlen(pws) < 2) { die("This user has no password set.\n"); } #endif