strchrnul: fix copy-paste braino

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-03-23 11:34:57 +01:00
parent 678d600f50
commit 10bf1adb43
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -33,7 +33,6 @@ char *strchrnul(const char *s, int c_in)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
for (rta = __NLMSG_RTA(h, sizeof(*ifi)); __NLMSG_RTAOK(rta, h);
c = (unsigned char)c_in;
/* Handle the first few characters by reading one character at a time.