From 341da5b4b6253de9a7581a066f33f89cacb44dec Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 15 Aug 2019 10:30:23 +0200 Subject: login: Fix updwtmp, updwtmx unlocking Commit 5a3afa9738f3dbbaf8c0a35665318c1af782111b (login: Replace macro-based control flow with function calls in utmp) introduced a regression because after it, __libc_updwtmp attempts to unlock the wrong file descriptor. --- login/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login/Makefile') diff --git a/login/Makefile b/login/Makefile index 92535f0aec..f9c4264087 100644 --- a/login/Makefile +++ b/login/Makefile @@ -43,7 +43,7 @@ endif subdir-dirs = programs vpath %.c programs -tests := tst-utmp tst-utmpx tst-grantpt tst-ptsname tst-getlogin +tests := tst-utmp tst-utmpx tst-grantpt tst-ptsname tst-getlogin tst-updwtmpx # Build the -lutil library with these extra functions. extra-libs := libutil -- cgit 1.4.1