projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modern syntax for asgops & inits cause Donn's latest ccom rejects the old.
[unix-history]
/
usr
/
src
/
bin
/
csh
/
time.c
diff --git
a/usr/src/bin/csh/time.c
b/usr/src/bin/csh/time.c
index
8cfc010
..
30bbc50
100644
(file)
--- a/
usr/src/bin/csh/time.c
+++ b/
usr/src/bin/csh/time.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char *sccsid = "@(#)time.c 5.
3
(Berkeley) %G%";
+static char *sccsid = "@(#)time.c 5.
4
(Berkeley) %G%";
#endif
#include "sh.h"
#endif
#include "sh.h"
@@
-54,8
+54,7
@@
donice(v)
nval = 4;
else if (*v == 0 && any(cp[0], "+-"))
nval = getn(cp);
nval = 4;
else if (*v == 0 && any(cp[0], "+-"))
nval = getn(cp);
- (void) setpriority(PRIO_PROCESS, 0,
- getpriority(PRIO_PROCESS, 0) + nval);
+ (void) setpriority(PRIO_PROCESS, 0, nval);
}
ruadd(ru, ru2)
}
ruadd(ru, ru2)