diff options
author | des <des@FreeBSD.org> | 2008-10-23 20:26:15 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-10-23 20:26:15 +0000 |
commit | a1e1ad22e07d384a9609e60cdf00daf7cac902cf (patch) | |
tree | 8c9f9efa0a9f52794e2ce1fe47128f50d30f8c28 /sys/kern/kern_linker.c | |
parent | 0b81365bc66eb70b9d9b1466012b41f8ccdec19a (diff) | |
download | FreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.zip FreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.tar.gz |
Fix a number of style issues in the MALLOC / FREE commit. I've tried to
be careful not to fix anything that was already broken; the NFSv4 code is
particularly bad in this respect.
Diffstat (limited to 'sys/kern/kern_linker.c')
-rw-r--r-- | sys/kern/kern_linker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 6cc5d5d..e232cdc 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -1893,8 +1893,8 @@ linker_hwpmc_list_objects(void) retry: /* allocate nmappings+1 entries */ - hc.kobase = malloc( (hc.nmappings + 1) * sizeof(struct pmckern_map_in), M_LINKER, - M_WAITOK | M_ZERO); + hc.kobase = malloc((hc.nmappings + 1) * sizeof(struct pmckern_map_in), + M_LINKER, M_WAITOK | M_ZERO); hc.nobjects = 0; if (linker_file_foreach(linker_hwpmc_list_object, &hc) != 0) { |