liblog: logprint: printable nul

Change-Id: I57d1f86ce040ad196c558bb72ac0464af793c214
diff --git a/liblog/logprint.c b/liblog/logprint.c
index c2f1545..3f1bb2f 100644
--- a/liblog/logprint.c
+++ b/liblog/logprint.c
@@ -774,7 +774,7 @@
     uint32_t utf32;
 
     if ((first_char & 0x80) == 0) { /* ASCII */
-        return 1;
+        return first_char ? 1 : -1;
     }
 
     /*