ifconfig.c: In function 'print_media_word':
ifconfig.c:2776: error: format '%d' expects type
'int', but argument 2 has type 'long long unsigned int'
maybe a cast to int is ok? but if there's no harm in printing the
whole thing, i believe that's safer.
Index: ifconfig.c
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v
retrieving revision 1.313
diff -u -p -r1.313 ifconfig.c
--- ifconfig.c 3 Jan 2016 10:33:27 -0000 1.313
+++ ifconfig.c 6 Jan 2016 18:57:14 -0000
@@ -2773,7 +2773,7 @@ print_media_word(uint64_t ifmw, int prin
}
}
if (IFM_INST(ifmw) != 0)
- printf(" instance %d", IFM_INST(ifmw));
+ printf(" instance %lld", IFM_INST(ifmw));
}
/* ARGSUSED */