diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1996-11-09 10:25:04 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1996-11-09 10:25:04 +0000 |
| commit | 171ed8bf140c3179dc9dfe9ddd585810ebdd7d59 (patch) | |
| tree | b7c037c8a6008975ca755045e41349bb45a03d48 /sys/gnu/fs | |
| parent | 891ccbd5b7196e037ec5b78de1804a5e6801386c (diff) | |
Notes
Diffstat (limited to 'sys/gnu/fs')
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c index af3a7bbfa87d..baeaa52775ff 100644 --- a/sys/gnu/fs/ext2fs/ext2_lookup.c +++ b/sys/gnu/fs/ext2fs/ext2_lookup.c @@ -1046,7 +1046,7 @@ ext2_checkpath(source, target, cred) IO_NODELOCKED, cred, (int *)0, (struct proc *)0); if (error != 0) break; - namlen = dirbuf.dotdot_namlen; + namlen = ((struct odirtemplate *)&dirbuf)->dotdot_namlen; /* XXX */ if (namlen != 2 || dirbuf.dotdot_name[0] != '.' || dirbuf.dotdot_name[1] != '.') { |
