Re: [PATCH 2/8] Missing comma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 16, 2011 at 6:45 AM, Pavel Raiskup <praiskup@xxxxxxxxxx> wrote:
> Missing comma in static array chassis_map definition between
> "Blade" and "Blade Enclosure" field.
>
> Typing error fixed.
>
> ---
>  plugins/formfactor.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/plugins/formfactor.c b/plugins/formfactor.c
> index 3b31927..0e19ac6 100644
> --- a/plugins/formfactor.c
> +++ b/plugins/formfactor.c
> @@ -73,10 +73,10 @@ static const char *chassis_map[] = {
>        "Rack Mount Chassis",    "unknown",
>        "Sealed-case PC",        "unknown",
>        "Multi-system",          "unknown",
> -       "CompactPCI",            "unknonw",
> +       "CompactPCI",            "unknown",
>        "AdvancedTCA",           "unknown",
>        "Blade",                 "server",
> -       "Blade Enclosure"        "unknown", /* 0x1D */
> +       "Blade Enclosure",       "unknown", /* 0x1D */
>        NULL
>  };

Nice catch, but because of errors like this, I think it'd be better to
use a struct with 2 "char *" fields, isn't it?


Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux