Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Consistancy nit- use parentheses around return argum...
details: https://anonhg.NetBSD.org/src/rev/06444917d99b
branches: trunk
changeset: 547611:06444917d99b
user: simonb <simonb%NetBSD.org@localhost>
date: Sun May 25 13:00:40 2003 +0000
description:
Consistancy nit- use parentheses around return argument.
diffstat:
sys/uvm/uvm_unix.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r a238a84406cb -r 06444917d99b sys/uvm/uvm_unix.c
--- a/sys/uvm/uvm_unix.c Sun May 25 12:34:27 2003 +0000
+++ b/sys/uvm/uvm_unix.c Sun May 25 13:00:40 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_unix.c,v 1.27 2003/01/18 09:43:02 thorpej Exp $ */
+/* $NetBSD: uvm_unix.c,v 1.28 2003/05/25 13:00:40 simonb Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_unix.c,v 1.27 2003/01/18 09:43:02 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_unix.c,v 1.28 2003/05/25 13:00:40 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -104,14 +104,14 @@
if (error) {
uprintf("sbrk: grow %ld failed, error = %d\n",
new - old, error);
- return error;
+ return (error);
}
vm->vm_dsize += atop(new - old);
} else {
uvm_deallocate(&vm->vm_map, new, old - new);
vm->vm_dsize -= atop(old - new);
}
- return 0;
+ return (0);
}
/*
Home |
Main Index |
Thread Index |
Old Index