path: root/commands/dmesg.c
Commit message (Collapse)AuthorAgeFilesLines
* commands: dmesg: fi format security warningMarc Kleine-Budde2015-04-031-1/+1
| | | | | | | | commands/dmesg.c: In function ‘do_dmesg’: commands/dmesg.c:71:3: warning: format not a string literal and no format arguments [-Wformat-security] Signed-off-by: Marc Kleine-Budde <> Signed-off-by: Sascha Hauer <>
* Introduce message logging supportSascha Hauer2014-09-301-0/+100
This adds a buffer for log messages and a 'dmesg' command to print the messages. The log buffer is implemented as log objects rather than a string buffer. This makes it easy to implement limiting the messages, cleaning the buffer and timestamping the messages. Signed-off-by: Sascha Hauer <>