Re: [MM master] Compile error and patch
- From: Aleksander Morgado <aleksander lanedo com>
- To: "Marius B. Kotsbak" <marius kotsbak com>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Re: [MM master] Compile error and patch
- Date: Mon, 21 Jan 2013 10:36:57 +0100
On 19/01/13 17:50, Marius B. Kotsbak wrote:
> "power_state" is an enum, not a string:
>
> error: format '%s' expects argument of type 'char *', but argument 5 has type 'unsigned int' [-Werror=format]
We can print all enums as strings, so better do that instead:
http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=9d5794e9e4e86239f450042223dc606b3472c067
Thanks for reporting!
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]