1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
This commit is contained in:
Alasdair Kergon 2010-04-22 03:42:00 +00:00
parent dbd20bbdb7
commit e8e7a84c64

View File

@ -116,7 +116,7 @@ static void _regex_print(struct rx_node *rx, int depth)
printf("["); printf("[");
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)
if (dm_bit(rx->charset, i)) { if (dm_bit(rx->charset, i)) {
if isprint(i) if (isprint(i))
printf("%c", (char) i); printf("%c", (char) i);
else if (i == HAT_CHAR) else if (i == HAT_CHAR)
printf("^"); printf("^");