aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2006-07-31 14:17:04 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2006-07-31 14:17:04 +0000
commit1ae992651567b53ae30aa6191f9878526e53045b (patch)
treee2518f66f43049f3e32014ed38a627d03c64e094 /usr.bin
parentb7141b2e2a959fb8a7159aff9f2b2ba397f4e2db (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/hexdump/conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/hexdump/conv.c b/usr.bin/hexdump/conv.c
index 9668780677b0..96dc2d64c43b 100644
--- a/usr.bin/hexdump/conv.c
+++ b/usr.bin/hexdump/conv.c
@@ -134,7 +134,7 @@ retry:
*pr->cchar = 'C';
assert(strcmp(pr->fmt, "%3C") == 0);
width = wcwidth(wc);
- assert(width > 0);
+ assert(width >= 0);
pad = 3 - width;
if (pad < 0)
pad = 0;