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
as ifdef the code, ifdef the variable
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_prf.c
diff --git
a/usr/src/sys/kern/subr_prf.c
b/usr/src/sys/kern/subr_prf.c
index
fddacef
..
4fb91df
100644
(file)
--- a/
usr/src/sys/kern/subr_prf.c
+++ b/
usr/src/sys/kern/subr_prf.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.
*
- * @(#)subr_prf.c 6.1
0
(Berkeley) %G%
+ * @(#)subr_prf.c 6.1
1
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-75,14
+75,16
@@
uprintf(fmt, x1)
char *fmt;
unsigned x1;
{
char *fmt;
unsigned x1;
{
+#ifdef notdef
register struct proc *p;
register struct proc *p;
+#endif
register struct tty *tp;
if ((tp = u.u_ttyp) == NULL)
return;
#ifdef notdef
if (tp->t_pgrp && (p = pfind(tp->t_pgrp)))
register struct tty *tp;
if ((tp = u.u_ttyp) == NULL)
return;
#ifdef notdef
if (tp->t_pgrp && (p = pfind(tp->t_pgrp)))
- if (p->p_uid != u.u_uid)
+ if (p->p_uid != u.u_uid)
/* doesn't account for setuid */
return;
#endif
(void)ttycheckoutq(tp, 1);
return;
#endif
(void)ttycheckoutq(tp, 1);