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
manual page distributed with 4.1BSD
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
ttyslot.c
diff --git
a/usr/src/lib/libc/gen/ttyslot.c
b/usr/src/lib/libc/gen/ttyslot.c
index
e0b511a
..
b754f2c
100644
(file)
--- a/
usr/src/lib/libc/gen/ttyslot.c
+++ b/
usr/src/lib/libc/gen/ttyslot.c
@@
-1,4
+1,4
@@
-/* @(#)ttyslot.c 4.
3
(Berkeley) %G% */
+/* @(#)ttyslot.c 4.
4
(Berkeley) %G% */
/*
* Return the number of the slot in the utmp file
/*
* Return the number of the slot in the utmp file
@@
-16,7
+16,7
@@
ttyslot()
{
register struct ttyent *ty;
register char *tp, *p;
{
register struct ttyent *ty;
register char *tp, *p;
- register s
, tf
;
+ register s;
if ((tp = ttyname(0)) == NULL &&
(tp = ttyname(1)) == NULL &&
if ((tp = ttyname(0)) == NULL &&
(tp = ttyname(1)) == NULL &&