summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-remove-susvlegacy-funcs.patch
blob: cac3f83244f3c2558f1ad764e429123f417fd598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rdup lsof_4.80.orig/lsof_4.80_src/dialects/linux/machine.h lsof_4.80/lsof_4.80_src/dialects/linux/machine.h
--- lsof_4.80.orig/lsof_4.80_src/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
+++ lsof_4.80/lsof_4.80_src/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
@@ -616,6 +616,6 @@
  * zeromem is a macro that uses bzero or memset.
  */
 
-#define	zeromem(a, l)	bzero(a, l)
+#define	zeromem(a, l)	memset(a, 0, l)
 
 #endif	/* !defined(LSOF_MACHINE_H) */