Commit Graph

21 Commits

Author SHA1 Message Date
sin 135f6012cb Incomplete output is not an error 2014-06-30 22:44:26 +01:00
sin 86060b535c Fix includes across all tools 2014-06-30 19:04:47 +01:00
sin 643a714256 Simplify dmesg_show()
The code was way too complicated.  We do not currently filter out
the priority level, so we default to raw output.
2014-06-30 16:50:38 +01:00
FRIGN 5a2f3c85b7 Bring back some C89/C90 elements
dmesg: don't use VLAs
getty, su: no need to use compound literals
2014-06-05 11:33:34 +01:00
sin 5b9ea69b08 Sweep through code and replace malloc() with emalloc() etc. 2014-04-30 13:12:17 +01:00
sin 11e8626fcd Add dmesg manpage and fix dmesg usage 2014-04-12 13:58:39 +01:00
Hiltjo Posthuma c5f17bd3dc remove some signed / unsigned type warnings
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-02-14 14:11:37 +00:00
sin 4040857074 Remove unused header from dmesg(1) 2014-01-25 22:31:31 +00:00
s-p-k 1b31acce48 Exit with EXIT_SUCCESS in dmesg.c cases 2013-10-07 20:08:40 +01:00
s-p-k e340e1373e exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
sin edc16fcafb Forgot to update usage line for dmesg(1) 2013-09-23 15:25:11 +01:00
sin 4ce785f36e Add support for changing the console level in dmesg(1) 2013-09-23 15:13:16 +01:00
sin 5c73758bba Add raw flag for dmesg 2013-08-17 17:22:30 +01:00
sin f2285a1a35 Add -c flag for dmesg 2013-08-16 14:59:53 +01:00
sin 367d26ad07 Be consistent and staticise the function definition as well 2013-08-16 10:12:40 +01:00
sin 76614ae86b Support -C for dmesg(1) 2013-08-14 14:40:49 +01:00
sin 97cbad7eef Remove OpenBSD support
This is becoming a nightmare.  Just support Linux.
2013-08-14 14:40:47 +01:00
sin 7f7189f54f Fix vertical spacing in dmesg.c 2013-08-12 11:29:21 +01:00
sin eaa5285d68 Rename syslog_{size,read,show} to dmesg_{size,read,show} 2013-08-12 10:18:14 +01:00
sin 6253a46693 Fix dmesg printing on Linux 2013-08-09 20:07:32 +01:00
sin 7b228e69b7 Add dmesg(1)
No manpage yet.
2013-08-06 20:58:13 +01:00