59c7e8a33b
Bump rev.
15 lines
439 B
Text
15 lines
439 B
Text
$NetBSD: patch-aa,v 1.1 2008/02/14 06:19:38 bjs Exp $
|
|
|
|
Fix sanity check in MM_permission (from OSSP CVS).
|
|
|
|
--- mm_global.c.orig 2006-08-10 14:59:54.000000000 -0400
|
|
+++ mm_global.c
|
|
@@ -61,7 +61,7 @@ int MM_create(size_t size, const char *f
|
|
|
|
int MM_permission(mode_t mode, uid_t owner, gid_t group)
|
|
{
|
|
- if (mm_global != NULL)
|
|
+ if (mm_global == NULL)
|
|
return -1;
|
|
return mm_permission(mm_global, mode, owner, group);
|
|
}
|