fix PR17061 (and pleeease, don't ask me for a test, this is just a minor output formatting issue :)

llvm-svn: 189783
This commit is contained in:
Kostya Serebryany 2013-09-03 09:44:56 +00:00
parent 8a00d0617c
commit 8d42228e47
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ static void PrintShadowBytes(const char *before, u8 *bytes,
for (uptr i = 0; i < n; i++) {
u8 *p = bytes + i;
const char *before = p == guilty ? "[" :
p - 1 == guilty ? "" : " ";
(p - 1 == guilty && i != 0) ? "" : " ";
const char *after = p == guilty ? "]" : "";
PrintShadowByte(before, *p, after);
}