Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67403754 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

[TCP] tcp_probe: use GCC printf attribute



The function in tcp_probe is printf like, use GCC to check the args.

Sighed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 63313494
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -80,7 +80,8 @@ static void printl(const char *fmt, ...)

	kfifo_put(tcpw.fifo, tbuf, len);
	wake_up(&tcpw.wait);
}
} __attribute__ ((format (printf, 1, 2)));


/*
 * Hook inserted to be called before each receive packet.