Module Name:    src
Committed By:   zafer
Date:           Mon Feb 13 16:53:41 UTC 2017

Modified Files:
        src/sys/kern: subr_blist.c

Log Message:
fix number of arguments of kmem_alloc and kmem_zalloc macro. ok skrll.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/kern/subr_blist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_blist.c
diff -u src/sys/kern/subr_blist.c:1.12 src/sys/kern/subr_blist.c:1.13
--- src/sys/kern/subr_blist.c:1.12	Mon Dec  9 09:35:17 2013
+++ src/sys/kern/subr_blist.c	Mon Feb 13 16:53:41 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_blist.c,v 1.12 2013/12/09 09:35:17 wiz Exp $	*/
+/*	$NetBSD: subr_blist.c,v 1.13 2017/02/13 16:53:41 zafer Exp $	*/
 
 /*-
  * Copyright (c) 1998 Matthew Dillon.  All Rights Reserved.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.12 2013/12/09 09:35:17 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.13 2017/02/13 16:53:41 zafer Exp $");
 #if 0
 __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
 #endif
@@ -112,8 +112,8 @@ __FBSDID("$FreeBSD: src/sys/kern/subr_bl
 #include <inttypes.h>
 
 #define	KM_SLEEP 1
-#define	kmem_zalloc(a,b,c) calloc(1, (a))
-#define	kmem_alloc(a,b,c) malloc(a)
+#define	kmem_zalloc(a,b) calloc(1, (a))
+#define	kmem_alloc(a,b) malloc(a)
 #define	kmem_free(a,b) free(a)
 
 #include "../sys/blist.h"

Reply via email to