diff options
author | Karel Zak | 2011-08-31 12:28:39 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-31 12:36:02 +0200 |
commit | 22f69825778f992ff98ed100252bf5e00a15d9d1 (patch) | |
tree | 2dc1b93493a5e09858d35896680fe1cbd3509dcf /partx/partx.c | |
parent | whereis: fix gcc warnings [-Wsign-compare] (diff) | |
download | kernel-qcow2-util-linux-22f69825778f992ff98ed100252bf5e00a15d9d1.tar.gz kernel-qcow2-util-linux-22f69825778f992ff98ed100252bf5e00a15d9d1.tar.xz kernel-qcow2-util-linux-22f69825778f992ff98ed100252bf5e00a15d9d1.zip |
dmesg: fix for non-CONFIG_PRINTK_TIME kernels
* dmesg(1) incorrectly assumes that lines like "<6>\n"
are broken.
* it's more robust to assume the end of the record is "\n<"
* print \n for empty lines
Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
0 files changed, 0 insertions, 0 deletions