diff --git a/sys/msdosfs/msdosfs_lookup.c b/sys/msdosfs/msdosfs_lookup.c index d7a73b35c81d..9a6ecbdf19df 100644 --- a/sys/msdosfs/msdosfs_lookup.c +++ b/sys/msdosfs/msdosfs_lookup.c @@ -1,4 +1,4 @@ -/* $NetBSD: msdosfs_lookup.c,v 1.25 1996/02/09 19:13:47 christos Exp $ */ +/* $NetBSD: msdosfs_lookup.c,v 1.26 1996/03/07 13:30:46 ws Exp $ */ /*- * Copyright (C) 1994, 1995 Wolfgang Solfrank. @@ -916,7 +916,7 @@ removede(pdep, dep) dep->de_refcnt--; do { error = pcbmap(pdep, de_cluster(pmp, offset), &bn, 0, &blsize); - if (error); + if (error) return error; error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); if (error) {