diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-12-21 19:03:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-21 23:34:51 +0300 |
commit | 551cde192343a10c8fbd57c4cc8f0c4b6cd307e4 (patch) | |
tree | cb5bbaf8660bbc58dfc38389cce30c7ff70dc5c5 /drivers/net/fddi/skfp/smt.c | |
parent | 0a9648f1293966c838dc570da73c15a76f4c89d6 (diff) | |
download | linux-551cde192343a10c8fbd57c4cc8f0c4b6cd307e4.tar.xz |
net: fddi: skfp: use %p format specifier for addresses rather than %x
Trivial fix: Addresses should be printed using the %p format specifier
rather than using %x.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp/smt.c')
-rw-r--r-- | drivers/net/fddi/skfp/smt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c index cd78b7cacc75..e80a08903fcf 100644 --- a/drivers/net/fddi/skfp/smt.c +++ b/drivers/net/fddi/skfp/smt.c @@ -504,7 +504,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) #endif smt_swap_para(sm,(int) mb->sm_len,1) ; - DB_SMT("SMT : received packet [%s] at 0x%x\n", + DB_SMT("SMT : received packet [%s] at 0x%p\n", smt_type_name[m_fc(mb) & 0xf],sm) ; DB_SMT("SMT : version %d, class %s\n",sm->smt_version, smt_class_name[(sm->smt_class>LAST_CLASS)?0 : sm->smt_class]) ; |