aboutsummaryrefslogtreecommitdiff
path: root/crypto/LPdir_vms.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/LPdir_vms.c')
-rw-r--r--crypto/LPdir_vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/LPdir_vms.c b/crypto/LPdir_vms.c
index 1e8f9e7..362918d 100644
--- a/crypto/LPdir_vms.c
+++ b/crypto/LPdir_vms.c
@@ -109,7 +109,7 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory)
errno = ENOMEM;
return 0;
}
- memset(*ctx, '\0', sizeof(**ctx));
+ memset(*ctx, 0, sizeof(**ctx));
strcpy((*ctx)->filespec, directory);
strcat((*ctx)->filespec, "*.*;");