From 15673c1598e8eb138b569f9e86421d1b60f76c23 Mon Sep 17 00:00:00 2001 From: Davidlohr Bueso Date: Thu, 3 Feb 2011 17:41:56 -0300 Subject: dmesg: use strtol_or_err instead of atoi We shouldn't be accepting things like 'dmesg -n 2crapinput' This patch also changes the exit's value to use EXIT_* constants. Signed-off-by: Davidlohr Bueso --- sys-utils/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'sys-utils/Makefile.am') diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am index ee6f2d74c..d916d3d04 100644 --- a/sys-utils/Makefile.am +++ b/sys-utils/Makefile.am @@ -29,6 +29,7 @@ cytune_SOURCES = cytune.c cyclades.h tunelp_SOURCES = tunelp.c lp.h fstrim_SOURCES = fstrim.c $(top_srcdir)/lib/strutils.c rtcwake_SOURCES = rtcwake.c $(top_srcdir)/lib/strutils.c +dmesg_SOURCES = dmesg.c $(top_srcdir)/lib/strutils.c if BUILD_FALLOCATE usrbin_exec_PROGRAMS += fallocate -- cgit v1.2.3-55-g7522