From: Andy Shevchenko Date: Fri, 17 Sep 2010 08:24:51 +0000 (+0300) Subject: staging: wlags49_h2: '&pointer[0]' to 'pointer' fix X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=db5c53d15bc987bffa22e7e8044447026750f640;p=openwrt%2Fstaging%2Fblogic.git staging: wlags49_h2: '&pointer[0]' to 'pointer' fix Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/wl_util.c b/drivers/staging/wlags49_h2/wl_util.c index e510dcb35d97..4521c9fd5bb2 100644 --- a/drivers/staging/wlags49_h2/wl_util.c +++ b/drivers/staging/wlags49_h2/wl_util.c @@ -338,7 +338,7 @@ const char *DbgHwAddr(unsigned char *hwAddr) static char buffer[18]; /*------------------------------------------------------------------------*/ - sprintf(buffer, "%pM", &hwAddr[0]); + sprintf(buffer, "%pM", hwAddr); return buffer; } // DbgHwAddr