diff options
-rw-r--r-- | src/appl/sample/sclient/sclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c index cfe5163e97..28eb1bdcd6 100644 --- a/src/appl/sample/sclient/sclient.c +++ b/src/appl/sample/sclient/sclient.c @@ -68,7 +68,7 @@ char *argv[]; } /* clear out the structure first */ - (void) bzero((char *)&sin, sizeof(sin)); + (void) memset((char *)&sin, 0, sizeof(sin)); /* find the port number for knetd */ sp = getservbyname(SAMPLE_SERVICE, "tcp"); |