logrotate: fix build with gcc 6
[buildroot-gz.git] / package / lsof / 0004-remove-susvlegacy-funcs.patch
blobfca66aee575c221d7fe47a703a62052c8d1d16c5
1 diff -rdup lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h lsof_4.81/lsof_4.81_src/dialects/linux/machine.h
2 --- a/dialects/linux/machine.h 2007-04-24 18:20:58.000000000 +0200
3 +++ b/dialects/linux/machine.h 2007-05-15 12:17:03.000000000 +0200
4 @@ -616,6 +616,6 @@
5 * zeromem is a macro that uses bzero or memset.
6 */
8 -#define zeromem(a, l) bzero(a, l)
9 +#define zeromem(a, l) memset(a, 0, l)
11 #endif /* !defined(LSOF_MACHINE_H) */