diff options
author | 1996-11-06 17:05:54 +0000 | |
---|---|---|
committer | 1996-11-06 17:05:54 +0000 | |
commit | b00cc2c71ccf402daafbb3b025628b6e40bbb10a (patch) | |
tree | a7be9bbcb50d51fea4f4d41063e762b8b87f685b /sys | |
parent | Correct ISADMA condition. Now both amiga & arc can use IDE with >4k xfers (diff) | |
download | wireguard-openbsd-b00cc2c71ccf402daafbb3b025628b6e40bbb10a.tar.xz wireguard-openbsd-b00cc2c71ccf402daafbb3b025628b6e40bbb10a.zip |
Change suggested by Manuel Bouyer.
Diffstat (limited to 'sys')
-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); |