Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Should call ufs_close() if it isn't being buil...
details: https://anonhg.NetBSD.org/src/rev/c1a68fc6fbbe
branches: trunk
changeset: 550771:c1a68fc6fbbe
user: elric <elric%NetBSD.org@localhost>
date: Thu Aug 21 00:01:28 2003 +0000
description:
Should call ufs_close() if it isn't being built in.
diffstat:
sys/lib/libsa/ufs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 49f0335f26a2 -r c1a68fc6fbbe sys/lib/libsa/ufs.c
--- a/sys/lib/libsa/ufs.c Thu Aug 21 00:01:13 2003 +0000
+++ b/sys/lib/libsa/ufs.c Thu Aug 21 00:01:28 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs.c,v 1.38 2003/08/18 15:45:30 dsl Exp $ */
+/* $NetBSD: ufs.c,v 1.39 2003/08/21 00:01:28 elric Exp $ */
/*-
* Copyright (c) 1993
@@ -740,9 +740,11 @@
if (buf)
free(buf, fs->fs_bsize);
#endif
+#ifndef LIBSA_NO_FS_CLOSE
if (rc) {
ufs_close(f);
}
+#endif
return (rc);
}
Home |
Main Index |
Thread Index |
Old Index