diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2010-09-17 11:24:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-20 16:10:55 -0700 |
commit | db5c53d15bc987bffa22e7e8044447026750f640 (patch) | |
tree | 80c16a1bad75821617515a28c3233383d4932378 /drivers/staging/wlags49_h2 | |
parent | 1c919d90e157f6656439194d6823c68b81b17fee (diff) | |
download | linux-db5c53d15bc987bffa22e7e8044447026750f640.tar.bz2 |
staging: wlags49_h2: '&pointer[0]' to 'pointer' fix
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r-- | drivers/staging/wlags49_h2/wl_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |