diff options
Diffstat (limited to 'sys/compat/ultrix/ultrix_fs.c')
-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); } |