diff options
Diffstat (limited to 'usr.sbin/jls/jls.c')
-rw-r--r-- | usr.sbin/jls/jls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c index e8446bb..23a3946 100644 --- a/usr.sbin/jls/jls.c +++ b/usr.sbin/jls/jls.c @@ -51,7 +51,7 @@ main(void) for (i = 0; i < 4; i++) { if (len <= 0) exit(0); - sxp = xp = calloc(len, 1); + sxp = xp = malloc(len); if (sxp == NULL) err(1, "malloc()"); |