diff options
author | Sami Kerola | 2013-08-17 20:15:13 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-23 10:58:55 +0200 |
commit | 1bd68aab3b3495f62b9eb596524e7fab73e7135d (patch) | |
tree | 367cd289b2c71e5fe567d2d1e72abffbef4f228f /login-utils/Makemodule.am | |
parent | last: use carefulput() for printable character output (diff) | |
download | kernel-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.am | 2 |
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 |