match message & conversion function name properly.

probably should make this into an array with two members.
This commit is contained in:
mrg 2024-03-20 20:19:31 +00:00
parent eb1fa7eb4a
commit 707adea339
1 changed files with 4 additions and 4 deletions

View File

@ -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)";