about summary refs log tree commit diff
path: root/nis/nss_nisplus/nisplus-ethers.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-27 08:47:42 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-27 08:47:42 +0000
commitd7390a372fef23e78ff90d1a93eb6d5dc1d337f2 (patch)
tree2454c3b8199a6bf973a49bd38180245d7e025b4a /nis/nss_nisplus/nisplus-ethers.c
parentef030f7f43b87b4bb553fd33e526f5cda6777c7f (diff)
downloadglibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.tar.gz
glibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.tar.xz
glibc-d7390a372fef23e78ff90d1a93eb6d5dc1d337f2.zip
Update.
1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add __adjtimex.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
	Remove memset.

	* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
Diffstat (limited to 'nis/nss_nisplus/nisplus-ethers.c')
-rw-r--r--nis/nss_nisplus/nisplus-ethers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nis/nss_nisplus/nisplus-ethers.c b/nis/nss_nisplus/nisplus-ethers.c
index 50f032a289..ddf6f7f128 100644
--- a/nis/nss_nisplus/nisplus-ethers.c
+++ b/nis/nss_nisplus/nisplus-ethers.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -293,7 +293,6 @@ _nss_nisplus_getntohost_r (const struct ether_addr *addr,
       nis_result *result;
       char buf[255 + tablename_len];
 
-      memset (&buf, '\0', sizeof (buf));
       sprintf (buf, "[addr=%x:%x:%x:%x:%x:%x],ethers.org_dir",
 	       addr->ether_addr_octet[0], addr->ether_addr_octet[1],
 	       addr->ether_addr_octet[2], addr->ether_addr_octet[3],