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
missing error return
[unix-history]
/
usr
/
src
/
sys
/
kern
/
kern_resource.c
diff --git
a/usr/src/sys/kern/kern_resource.c
b/usr/src/sys/kern/kern_resource.c
index
7f12ca1
..
1f71393
100644
(file)
--- a/
usr/src/sys/kern/kern_resource.c
+++ b/
usr/src/sys/kern/kern_resource.c
@@
-3,7
+3,7
@@
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)kern_resource.c 6.
8
(Berkeley) %G%
+ * @(#)kern_resource.c 6.
9
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-39,7
+39,7
@@
getpriority()
else
p = pfind(uap->who);
if (p == 0)
else
p = pfind(uap->who);
if (p == 0)
-
return
;
+
break
;
low = p->p_nice;
break;
low = p->p_nice;
break;
@@
-92,7
+92,7
@@
setpriority()
else
p = pfind(uap->who);
if (p == 0)
else
p = pfind(uap->who);
if (p == 0)
-
return
;
+
break
;
donice(p, uap->prio);
found++;
break;
donice(p, uap->prio);
found++;
break;