diff options
author | Sergey Gusarov | 2011-03-25 14:54:05 +0100 |
---|---|---|
committer | Karel Zak | 2011-03-29 17:07:24 +0200 |
commit | 305a6122514fa4ee33f8815fb649ebce03c20545 (patch) | |
tree | a60974de94ae3514b6957b53890943cb9b0678df /misc-utils/blkid.c | |
parent | umount: use UMOUNT_NOFOLLOW for non-root users (diff) | |
download | kernel-qcow2-util-linux-305a6122514fa4ee33f8815fb649ebce03c20545.tar.gz kernel-qcow2-util-linux-305a6122514fa4ee33f8815fb649ebce03c20545.tar.xz kernel-qcow2-util-linux-305a6122514fa4ee33f8815fb649ebce03c20545.zip |
blkid: small fix for safe_print()
This small fix makes it possible to print the first unprintable character
with code 128 from ASCII table.
Signed-off-by: Sergey Gusarov <laborer2008@gmail.com>
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r-- | misc-utils/blkid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c index c8c95b6b1..51599f52e 100644 --- a/misc-utils/blkid.c +++ b/misc-utils/blkid.c @@ -108,7 +108,7 @@ static void safe_print(const char *cp, int len) while (len--) { ch = *cp++; if (!raw_chars) { - if (ch > 128) { + if (ch >= 128) { fputs("M-", stdout); ch -= 128; } |