summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-07 01:28:16 +0000
committerjkh <jkh@FreeBSD.org>1995-05-07 01:28:16 +0000
commit044b192e69c67155b75306422998173a1c5bb06e (patch)
tree129e7b332b5223c21531f842e4c6ba0ef83284a1 /lib/libdisk/chunk.c
parent97b64700b1ad85fe2d36458ade4525c49256dc82 (diff)
downloadFreeBSD-src-044b192e69c67155b75306422998173a1c5bb06e.zip
FreeBSD-src-044b192e69c67155b75306422998173a1c5bb06e.tar.gz
Whoops! An extra paren somehow got in there. Fixed.
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index 926c038..77bcc00 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: chunk.c,v 1.8 1995/05/06 03:28:27 phk Exp $
+ * $Id: chunk.c,v 1.9 1995/05/07 01:25:22 jkh Exp $
*
*/
@@ -18,7 +18,7 @@
#include <err.h>
#include "libdisk.h"
-#define new_chunk() memset(malloc(sizeof(struct chunk), 0, sizeof(struct chunk)))
+#define new_chunk() memset(malloc(sizeof(struct chunk)), 0, sizeof(struct chunk))
/* Is c2 completely inside c1 ? */
OpenPOWER on IntegriCloud