hust testsuite: fix a false positive
[oweals/busybox.git] / miscutils / setserial.c
index 2a034e32c0976834bdf675c38ddc700711a49a83..8b5c4a9c764b1173c8555fe7e34677ddc7e4b6f4 100644 (file)
@@ -223,7 +223,7 @@ struct serial_struct {
 //usage:       "       -v      Verbose\n"
 //usage:       "\n"
 //usage:       "Parameters: (* = takes an argument, ^ = can be turned off by preceding ^)\n"
-//usage:       "       *port, *irq, *divisor, *uart, *baund_base, *close_delay, *closing_wait,\n"
+//usage:       "       *port, *irq, *divisor, *uart, *baud_base, *close_delay, *closing_wait,\n"
 //usage:       "       ^fourport, ^auto_irq, ^skip_test, ^sak, ^session_lockout, ^pgrp_lockout,\n"
 //usage:       "       ^callout_nohup, ^split_termios, ^hup_notify, ^low_latency, autoconfig,\n"
 //usage:       "       spd_normal, spd_hi, spd_vhi, spd_shi, spd_warp, spd_cust\n"
@@ -257,7 +257,7 @@ enum print_mode
 #define CTL_CLOSE               (1 << 3)
 #define CTL_NODIE               (1 << 4)
 
-static const char serial_types[] =
+static const char serial_types[] ALIGN1 =
        "unknown\0"             /* 0 */
        "8250\0"                /* 1 */
        "16450\0"               /* 2 */
@@ -288,7 +288,7 @@ static const char serial_types[] =
 # define MAX_SERIAL_TYPE       13
 #endif
 
-static const char commands[] =
+static const char commands[] ALIGN1 =
        "spd_normal\0"
        "spd_hi\0"
        "spd_vhi\0"
@@ -311,7 +311,7 @@ static const char commands[] =
        "irq\0"
        "divisor\0"
        "uart\0"
-       "baund_base\0"
+       "baud_base\0"
        "close_delay\0"
        "closing_wait\0"
 
@@ -404,8 +404,8 @@ static const uint16_t setbits[CMD_FLAG_LAST + 1] =
        ASYNC_LOW_LATENCY
 };
 
-static const char STR_INFINITE[] = "infinite";
-static const char STR_NONE[] = "none";
+#define STR_INFINITE "infinite"
+#define STR_NONE     "none"
 
 static const char *uart_type(int type)
 {