who -r: don't print "last=" when the corresponding byte is unprintable
authorJim Meyering <meyering@redhat.com>
Fri, 4 Jul 2008 14:34:39 +0000 (16:34 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 4 Jul 2008 14:34:39 +0000 (16:34 +0200)
commit63467fa18794f02497c7a46e3b7783ba1180f8fc
tree687d7d03270599416cd6817b688e79cdbff16b25
parent5483165b129b1ace218cb20d1a75ddff6ed45488
who -r: don't print "last=" when the corresponding byte is unprintable

* src/who.c (print_runlevel): Print last=%c only when the "preceding
run-level" byte is printable.  Reported by Gian Piero De Lolliis in
<http://bugzilla.redhat.com/453249>.
src/who.c