NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40234: malloc fallout.



>Number:         40234
>Category:       kern
>Synopsis:       malloc fallout.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 20 07:30:00 +0000 2008
>Originator:     Henning Petersen
>Release:        Netbsd-current
>Organization:
>Environment:
>Description:
Type in __wrap_malloc changed from int to malloc_flag_t.
>How-To-Repeat:

>Fix:
diff -u -r1.61 emul.c
--- sys/rump/librump/rumpkern/emul.c    18 Dec 2008 00:24:12 -0000      1.61
+++ sys/rump/librump/rumpkern/emul.c    20 Dec 2008 07:19:48 -0000
@@ -319,7 +319,7 @@
 }
 
 void *
-__wrap_malloc(unsigned long size, struct malloc_type *type, int flags)
+__wrap_malloc(unsigned long size, struct malloc_type *type, malloc_flag_t 
flags)
 {
        void *rv;
 



Home | Main Index | Thread Index | Old Index