summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 20:00:42 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 20:00:42 +0000
commit0101027dbb028e13b06315ee353e5b141c1fbcc0 (patch)
treede5125fd27a3d5b6a1f52f4cb543c295c3624f38 /usr.sbin/afs
parentbec699e480c4d418924af121754ac8b40cb49204 (diff)
correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822.
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/src/appl/vos/vos_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/appl/vos/vos_common.c b/usr.sbin/afs/src/appl/vos/vos_common.c
index 2854b4b8020..14717595958 100644
--- a/usr.sbin/afs/src/appl/vos/vos_common.c
+++ b/usr.sbin/afs/src/appl/vos/vos_common.c
@@ -262,7 +262,7 @@ get_vlentry (const char *cell, const char *host, const char *volname,
if(host == NULL) {
conn_context = malloc(sizeof(struct db_server_context));
- memset(conn_context, sizeof(struct db_server_context), 0);
+ memset(conn_context, 0, sizeof(struct db_server_context));
for (conn = arlalib_first_db(conn_context,
cell, host, afsvldbport, VLDB_SERVICE_ID,
auth);