summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_meter.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-09-07 20:15:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-09-07 20:15:30 +0000
commitd870eef11536ff9b8b1e057811aefade9c111bee (patch)
tree184f20f788a988ad8e41d7381ce037ff8277e6dd /sys/uvm/uvm_meter.c
parent653e038f4e286aadac796ed6c0cce53819bcb399 (diff)
Convert bzero to memset(X, 0..) and bcopy to memcpy.
This is to match (make diffs smaller) the code in NetBSD. new gcc inlines those functions, so this could also be a performance win.
Diffstat (limited to 'sys/uvm/uvm_meter.c')
-rw-r--r--sys/uvm/uvm_meter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c
index 29e4739fca9..2911144f53a 100644
--- a/sys/uvm/uvm_meter.c
+++ b/sys/uvm/uvm_meter.c
@@ -184,7 +184,7 @@ uvm_total(totalp)
int paging;
#endif
- bzero(totalp, sizeof *totalp);
+ memset(totalp, 0, sizeof *totalp);
/*
* calculate process statistics