cd: fix missed null terminator
authornotaz <notasas@gmail.com>
Sat, 5 Aug 2017 22:48:25 +0000 (01:48 +0300)
committernotaz <notasas@gmail.com>
Sat, 5 Aug 2017 22:48:25 +0000 (01:48 +0300)
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