summaryrefslogtreecommitdiffstats
path: root/sys-utils/cytune.c
Commit message (Collapse)AuthorAgeFilesLines
* cytune: fix printf type warningSami Kerola2011-09-291-3/+3
| | | | | | conversion specifies type 'unsigned long' but the argument has type 'unsigned long *' Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: coding style fixesSami Kerola2011-09-291-329/+347
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: refactor main(), new function query_tty_stats()Sami Kerola2011-09-291-124/+127
| | | | | | | This commit also moves global variables to the beginning of the file, or to function scope where they belong. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: use libc error printing facilitiesSami Kerola2011-09-291-63/+27Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: check numeric user inputsSami Kerola2011-09-291-10/+11
| | | | | | Checks use strtol_or_err() from strutils.h Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: add long options and usage()Sami Kerola2011-09-291-6/+45
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: fix compiler warnings [-Wsign-compare]Karel Zak2011-08-011-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cytune: remove unused variableKarel Zak2011-06-081-4/+1Star
| | | | | | | cytune.c: In function ‘summary’: cytune.c:105:9: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: make use xalloc wrappersDavidlohr Bueso2010-11-011-6/+3Star
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* cytune: remove linux/tty.h inclusionKarel Zak2007-07-191-1/+0Star
| | | | | | The <linux/tty.h> file is empty. It's __KERNEL__ only. Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.12i tarball.Karel Zak2006-12-071-6/+1Star
|
* Imported from util-linux-2.11o tarball.Karel Zak2006-12-071-2/+1Star
|
* Imported from util-linux-2.11m tarball.Karel Zak2006-12-071-12/+16
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-10/+8Star
|
* Imported from util-linux-2.10m tarball.Karel Zak2006-12-071-2/+4
|
* Imported from util-linux-2.9v tarball.Karel Zak2006-12-071-57/+77
|
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-071-1/+4
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-0/+424