cd: fix missed null terminator
[picodrive.git] / pico / cd / cd_image.c
index 07b55ce..ae2ef0c 100644 (file)
@@ -61,6 +61,7 @@ static void to_upper(char *d, const char *s)
     else
       *d = *s;
   }
+  *d = 0;
 }
 
 // cdd.c uses lba - 150