aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/ipmr.c2
-rw-r--r--net/ipv6/ip6mr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index cb3a57d46af6..244a624e0b18 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -1879,7 +1879,7 @@ static int ipmr_mfc_seq_show(struct seq_file *seq, void *v)
1879 const struct mfc_cache *mfc = v; 1879 const struct mfc_cache *mfc = v;
1880 const struct ipmr_mfc_iter *it = seq->private; 1880 const struct ipmr_mfc_iter *it = seq->private;
1881 1881
1882 seq_printf(seq, "%08lX %08lX %-3d", 1882 seq_printf(seq, "%08lX %08lX %-3hd",
1883 (unsigned long) mfc->mfc_mcastgrp, 1883 (unsigned long) mfc->mfc_mcastgrp,
1884 (unsigned long) mfc->mfc_origin, 1884 (unsigned long) mfc->mfc_origin,
1885 mfc->mfc_parent); 1885 mfc->mfc_parent);
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 2dc4b0190878..1446bec895a2 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -297,7 +297,7 @@ static int ipmr_mfc_seq_show(struct seq_file *seq, void *v)
297 const struct mfc6_cache *mfc = v; 297 const struct mfc6_cache *mfc = v;
298 const struct ipmr_mfc_iter *it = seq->private; 298 const struct ipmr_mfc_iter *it = seq->private;
299 299
300 seq_printf(seq, "%pI6 %pI6 %-3d", 300 seq_printf(seq, "%pI6 %pI6 %-3hd",
301 &mfc->mf6c_mcastgrp, &mfc->mf6c_origin, 301 &mfc->mf6c_mcastgrp, &mfc->mf6c_origin,
302 mfc->mf6c_parent); 302 mfc->mf6c_parent);
303 303