diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-30 12:09:23 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-30 12:09:23 +0000 |
commit | b78f22d8a05b2206b0f3b20a6f10fe525ec1fa8c (patch) | |
tree | c41b1726bfb688e60287c616864631fab822290f /sys/compat/ultrix | |
parent | 285e1f1b419a51e44b151eb346e7dc478926f99f (diff) |
- replace the remaining MALLOC/FREE -> malloc/free in sys/compat
ok krw@, ok pyr@
Diffstat (limited to 'sys/compat/ultrix')
-rw-r--r-- | sys/compat/ultrix/ultrix_fs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ultrix/ultrix_fs.c b/sys/compat/ultrix/ultrix_fs.c index 6cacd7bd561..041306217fe 100644 --- a/sys/compat/ultrix/ultrix_fs.c +++ b/sys/compat/ultrix/ultrix_fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_fs.c,v 1.14 2006/03/05 21:48:56 miod Exp $ */ +/* $OpenBSD: ultrix_fs.c,v 1.15 2007/10/30 12:09:22 gilles Exp $ */ /* $NetBSD: ultrix_fs.c,v 1.4 1996/04/07 17:23:06 jonathan Exp $ */ /* @@ -223,7 +223,7 @@ ultrix_sys_getmnt(p, v, retval) * Only get info on mountpoints that matches the path * provided. */ - MALLOC(path, char *, MAXPATHLEN, M_TEMP, M_WAITOK); + path = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); if ((error = copyinstr(SCARG(uap, path), path, MAXPATHLEN, NULL)) != 0) goto bad; @@ -279,7 +279,7 @@ ultrix_sys_getmnt(p, v, retval) bad: if (path) - FREE(path, M_TEMP); + free(path, M_TEMP); return (error); } |