OSDN Git Service

Ignore quotes in safe_print().
[android-x86/external-e2fsprogs.git] / misc / blkid.c
index 96fffae..472f017 100644 (file)
@@ -87,7 +87,9 @@ static void safe_print(const char *cp, int len)
                        fputc('^', stdout);
                        ch ^= 0x40; /* ^@, ^A, ^B; ^? for DEL */
                }
-               fputc(ch, stdout);
+               if (ch != '"') {
+                       fputc(ch, stdout);
+               }
        }
 }