diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-01 09:15:45 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-01 09:15:45 +0000 |
commit | ea2a2189aaef7777a4eb188b6425db73031f6915 (patch) | |
tree | dd409e8f9460a2e7f30b43d99aec5395eb9a81eb /usr.bin/top/utils.c | |
parent | 03c8d77bc9ffc5b820afa3a04a185ec59f0834bc (diff) |
typos in comment; from Pierre Riteau
Diffstat (limited to 'usr.bin/top/utils.c')
-rw-r--r-- | usr.bin/top/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/utils.c b/usr.bin/top/utils.c index 4524d7b1f92..8b17855abc6 100644 --- a/usr.bin/top/utils.c +++ b/usr.bin/top/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.20 2007/07/27 13:57:50 deraadt Exp $ */ +/* $OpenBSD: utils.c,v 1.21 2007/10/01 09:15:44 otto Exp $ */ /* * Top users/processes display for Unix @@ -207,11 +207,11 @@ argparse(char *line, int *cntp) /* * percentages(cnt, out, new, old, diffs) - calculate percentage change - * between array "old" and "new", putting the percentages i "out". + * between array "old" and "new", putting the percentages in "out". * "cnt" is size of each array and "diffs" is used for scratch space. * The array "old" is updated on each call. * The routine assumes modulo arithmetic. This function is especially - * useful on BSD mchines for calculating cpu state percentages. + * useful on BSD machines for calculating cpu state percentages. */ int percentages(int cnt, int64_t *out, int64_t *new, int64_t *old, int64_t *diffs) |