shithub: riscv

Download patch

ref: c7c5ed3571d5d2c8e2c34d5c93cab9951b9e940a
parent: d589632207181a7960607a5938f315422386b9cb
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Feb 19 20:13:36 EST 2024

audio/readtags: print Tunknown tags

--- a/sys/src/cmd/audio/readtags/readtags.c
+++ b/sys/src/cmd/audio/readtags/readtags.c
@@ -66,8 +66,10 @@
 	}
 	if(t == Timage)
 		print("%-12s %s %d %d\n", t2s[t], v, offset, size);
-	else if(t != Tunknown)
-		print("%-12s %s\n", t2s[t], v);
+	else if(t == Tunknown)
+		print("%-12s %s\n", k, v);
+	else
+ 		print("%-12s %s\n", t2s[t], v);
 }
 
 static void