From 7c9e3902a785d17bbe3859337e93006598a250dc Mon Sep 17 00:00:00 2001
From: Thomas Chou <thomas@wytron.com.tw>
Date: Sun, 2 Dec 2007 16:29:30 +0800
Subject: [PATCH] inetd: replace legacy bcopy/bzero/bcmp/index/rindex

bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 user/inetd/inetd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/user/inetd/inetd.c b/user/inetd/inetd.c
index 0baf77a..e7c18cc 100644
--- a/user/inetd/inetd.c
+++ b/user/inetd/inetd.c
@@ -580,7 +580,7 @@ read_config_lines(FILE *cfp)
 	    fprintf(stderr, "Malloc failed\n");
 	    continue;
     }
-    bzero(p, sz);
+    memset(p, 0, sz);
 
     /* copy in the args and exec path. */
     /* No possible overrun here as we've already calculated the sizes */
-- 
1.5.3.3

