diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-07-16 21:21:01 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-07-16 21:21:01 +0000 |
commit | 2008cb6e6fbaf968bd7a68aa7f91ba89a5ae4ded (patch) | |
tree | 59fb454facb3b51e6987be287c88eca2ba8d0b61 /sys/arch/amiga | |
parent | 28d2d7ac49a5f74a28ed8669878ba3c6ec26e31f (diff) |
correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r-- | sys/arch/amiga/stand/boot/aout2bb/aout2bb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c b/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c index 84be027ae85..439e61f9daa 100644 --- a/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c +++ b/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c @@ -1,5 +1,5 @@ /* - * $OpenBSD: aout2bb.c,v 1.4 2002/06/11 05:18:21 jsyn Exp $ + * $OpenBSD: aout2bb.c,v 1.5 2002/07/16 21:21:00 fgsch Exp $ * $NetBSD: aout2bb.c,v 1.2 1996/12/31 22:39:58 veego Exp $ * * Copyright (c) 1996 Ignatios Souvatzis @@ -166,7 +166,7 @@ main(argc, argv) if (tsz+dsz+bsz > BBSIZE) errx(1, "%s: resulting image too big", argv[0]); - memset(buffer, sizeof(buffer), 0); + memset(buffer, 0, sizeof(buffer)); memcpy(buffer, image + N_TXTOFF(*eh), tsz+dsz); /* |