Signed-off-by: Varka Bhadram <varkab@xxxxxxx> --- src/interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/interface.c b/src/interface.c index e501763..647247b 100644 --- a/src/interface.c +++ b/src/interface.c @@ -16,7 +16,7 @@ SECTION(interface); -static char modebuf[100]; +static char iftypebuf[100]; const char *iftype_name(enum nl802154_iftype iftype) { @@ -28,8 +28,8 @@ const char *iftype_name(enum nl802154_iftype iftype) case NL802154_IFTYPE_COORD: return "coordinator"; default: - sprintf(modebuf, "Unknown mode (%d)", iftype); - return modebuf; + sprintf(iftypebuf, "Invalid iftype (%d)", iftype); + return iftypebuf; } } -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html