1 [PATCH] replace susv3 legacy functions with modern equivalents
3 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
6 1 file changed, 1 insertion(+), 1 deletion(-)
8 Index: sysklogd-1.4.1/syslog.c
9 ===================================================================
10 --- sysklogd-1.4.1.orig/syslog.c
11 +++ sysklogd-1.4.1/syslog.c
14 (void)strcat(tbuf, "\r\n");
16 - p = index(tbuf, '>') + 1;
17 + p = strchr(tbuf, '>') + 1;
18 (void)write(fd, p, cnt - (p - tbuf));