Thank you for the patch! :) > Signed-off-by: Kevin Darbyshire-Bryant <[email protected]> > --- > tc/q_cake.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/tc/q_cake.c b/tc/q_cake.c > index 44cadb63..f888bd2a 100644 > --- a/tc/q_cake.c > +++ b/tc/q_cake.c > @@ -47,6 +47,7 @@ > #include <netinet/in.h> > #include <arpa/inet.h> > #include <string.h> > +#include <inttypes.h> > > #include "utils.h" > #include "tc_util.h" > @@ -557,10 +558,10 @@ static int cake_print_opt(struct qdisc_util *qu, FILE > *f, struct rtattr *opt) > else if (!raw) > print_string(PRINT_ANY, "atm", "%s ", "noatm"); > > - print_uint(PRINT_ANY, "overhead", "overhead %d ", overhead); > + print_uint(PRINT_ANY, "overhead", "overhead %" PRId64 " ", > overhead);
Guess this should actually be print_int(), since overhead can be negative? -Toke _______________________________________________ Cake mailing list [email protected] https://lists.bufferbloat.net/listinfo/cake
