summaryrefslogtreecommitdiffstats
path: root/login-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2013-08-17 20:15:13 +0200
committerKarel Zak2013-08-23 10:58:55 +0200
commit1bd68aab3b3495f62b9eb596524e7fab73e7135d (patch)
tree367cd289b2c71e5fe567d2d1e72abffbef4f228f /login-utils/Makemodule.am
parentlast: use carefulput() for printable character output (diff)
downloadkernel-qcow2-util-linux-1bd68aab3b3495f62b9eb596524e7fab73e7135d.tar.gz
kernel-qcow2-util-linux-1bd68aab3b3495f62b9eb596524e7fab73e7135d.tar.xz
kernel-qcow2-util-linux-1bd68aab3b3495f62b9eb596524e7fab73e7135d.zip
last: check expected numeric user input is number
This commit also changes the line count to use unsigned integers, as negative numbers in this context does not make sense. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/Makemodule.am')
-rw-r--r--login-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/Makemodule.am b/login-utils/Makemodule.am
index e4361ede2..8d65cc583 100644
--- a/login-utils/Makemodule.am
+++ b/login-utils/Makemodule.am
@@ -4,7 +4,7 @@ usrbin_exec_PROGRAMS += last
dist_man_MANS += \
login-utils/last.1 \
login-utils/lastb.1
-last_SOURCES = login-utils/last.c
+last_SOURCES = login-utils/last.c lib/strutils.c
install-exec-hook-last:
cd $(DESTDIR)$(usrsbin_execdir) && ln -sf last lastb