summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/tcfspwdb.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-06-19 03:23:05 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-06-19 03:23:05 +0000
commit9404661d822ea85af4072644f968a515269ae525 (patch)
treeb0bff22121d4fb7a08293d59f052d7247d8e5dd4 /usr.bin/tcfs/tcfspwdb.h
parent7a9c4bc37db7ac8d036e00322d50ec91a1bfc88a (diff)
fix a couple of bugs. dont clobber tcfspwdb when adding group entries.
do the fgets correctly until aaron gets to them.
Diffstat (limited to 'usr.bin/tcfs/tcfspwdb.h')
-rw-r--r--usr.bin/tcfs/tcfspwdb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tcfs/tcfspwdb.h b/usr.bin/tcfs/tcfspwdb.h
index 899b37ebf22..01f5b581eff 100644
--- a/usr.bin/tcfs/tcfspwdb.h
+++ b/usr.bin/tcfs/tcfspwdb.h
@@ -26,14 +26,14 @@
typedef struct tcfspwdb_r
{
- char user[UserLen];
- char upw[PassLen];
+ char user[LOGIN_NAME_MAX];
+ char upw[UUKEYSIZE + 1];
} tcfspwdb;
typedef struct tcfsgpwdb_r
{
- char user[UserLen];
- char gkey[PassLen];
+ char user[LOGIN_NAME_MAX];
+ char gkey[UUGKEYSIZE + 1];
gid_t gid;
int n;
int soglia;