diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-06 17:05:55 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-06 17:05:55 +0000 |
commit | f4080c8fbd750a0578cba4dfcf4b4f858f62841b (patch) | |
tree | ca2a3e707edcc65b36af15fb38fd92b234def95b /sys/gnu/ext2fs/ext2_lookup.c | |
parent | 2dfb7150273a6c69d62100a073861eca973e768c (diff) |
Change suggested by Manuel Bouyer.
Diffstat (limited to 'sys/gnu/ext2fs/ext2_lookup.c')
-rw-r--r-- | sys/gnu/ext2fs/ext2_lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_lookup.c b/sys/gnu/ext2fs/ext2_lookup.c index 0925ae47f06..01feebaf957 100644 --- a/sys/gnu/ext2fs/ext2_lookup.c +++ b/sys/gnu/ext2fs/ext2_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2_lookup.c,v 1.4 1996/11/01 08:31:57 downsj Exp $ */ +/* $OpenBSD: ext2_lookup.c,v 1.5 1996/11/06 17:05:54 downsj Exp $ */ /* * modified for Lites 1.1 @@ -855,7 +855,7 @@ ext2_direnter(ip, dvp, cnp) /* overwrite; nothing there; header is ours */ spacefree += dsize; } - dsize = EXT2_DIR_REC_LEN(ep->name_len); + dsize = EXT2_DIR_REC_LEN(nep->name_len); spacefree += nep->rec_len - dsize; loc += nep->rec_len; bcopy((caddr_t)nep, (caddr_t)ep, dsize); |