Module Name:    src
Committed By:   mrg
Date:           Wed Mar 20 20:19:31 UTC 2024

Modified Files:
        src/usr.bin/audio/record: record.c

Log Message:
match message & conversion function name properly.

probably should make this into an array with two members.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.bin/audio/record/record.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/audio/record/record.c
diff -u src/usr.bin/audio/record/record.c:1.58 src/usr.bin/audio/record/record.c:1.59
--- src/usr.bin/audio/record/record.c:1.58	Tue Feb 27 20:40:30 2024
+++ src/usr.bin/audio/record/record.c	Wed Mar 20 20:19:31 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: record.c,v 1.58 2024/02/27 20:40:30 gson Exp $	*/
+/*	$NetBSD: record.c,v 1.59 2024/03/20 20:19:31 mrg Exp $	*/
 
 /*
  * Copyright (c) 1999, 2002, 2003, 2005, 2010 Matthew R. Green
@@ -32,7 +32,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: record.c,v 1.58 2024/02/27 20:40:30 gson Exp $");
+__RCSID("$NetBSD: record.c,v 1.59 2024/03/20 20:19:31 mrg Exp $");
 #endif
 
 
@@ -322,9 +322,9 @@ main(int argc, char *argv[])
 			s = "change sign (little-endian, 32 bit)";
 		else if (conv_func == change_sign16_swap_bytes_be)
 			s = "change sign & swap bytes (big-endian, 16 bit)";
-		else if (conv_func == change_sign24_swap_bytes_le)
+		else if (conv_func == change_sign16_swap_bytes_le)
 			s = "change sign & swap bytes (little-endian, 16 bit)";
-		else if (conv_func == change_sign16_swap_bytes_be)
+		else if (conv_func == change_sign24_swap_bytes_be)
 			s = "change sign & swap bytes (big-endian, 24 bit)";
 		else if (conv_func == change_sign24_swap_bytes_le)
 			s = "change sign & swap bytes (little-endian, 24 bit)";

Reply via email to