From bdb491e42ad7f85158ef44f2bf58f35b66e1f0a5 Mon Sep 17 00:00:00 2001 From: Inaky Perez-Gonzalez Date: Thu, 23 Apr 2009 18:29:22 -0700 Subject: libwimaxll: clarify the error printed when the kernel WiMAX generic netlink interface is not found Signed-off-by: Inaky Perez-Gonzalez --- lib/op-open.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/op-open.c b/lib/op-open.c index 9865858..776d2d5 100644 --- a/lib/op-open.c +++ b/lib/op-open.c @@ -282,10 +282,8 @@ int wimaxll_gnl_resolve(struct wimaxll_handle *wmx) /* Lookup the generic netlink family */ result = genl_ctrl_resolve(wmx->nlh_tx, "WiMAX"); if (result < 0) { - wimaxll_msg(wmx, "E: device %s presents no WiMAX interface; " - "it might not exist, not be be a WiMAX device or " - "support an interface unknown to libwimaxll: %d\n", - wmx->name, result); + wimaxll_msg(wmx, "E: can't find kernel's WiMAX API " + "over genetic netlink: %d\n", result); goto error_ctrl_resolve; } wmx->gnl_family_id = result; -- cgit v1.2.3