Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Build properly against the lfs changes.
details: https://anonhg.NetBSD.org/src/rev/6b8c141c8f3d
branches: trunk
changeset: 787271:6b8c141c8f3d
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Jun 09 00:02:33 2013 +0000
description:
Build properly against the lfs changes.
diffstat:
sys/lib/libsa/lfsv1.c | 4 +++-
sys/lib/libsa/lfsv2.c | 5 ++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 1ecdf0730cd1 -r 6b8c141c8f3d sys/lib/libsa/lfsv1.c
--- a/sys/lib/libsa/lfsv1.c Sat Jun 08 23:37:37 2013 +0000
+++ b/sys/lib/libsa/lfsv1.c Sun Jun 09 00:02:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfsv1.c,v 1.5 2012/05/21 21:34:16 dsl Exp $ */
+/* $NetBSD: lfsv1.c,v 1.6 2013/06/09 00:02:33 dholland Exp $ */
#define LIBSA_LFS
#define REQUIRED_LFS_VERSION 1
@@ -13,6 +13,8 @@
#define ufs_ls lfsv1_ls
#endif
+#define ufs_dinode ulfs1_dinode
+
#define fs_bsize lfs_ibsize
#define IFILE_Vx IFILE_V1
diff -r 1ecdf0730cd1 -r 6b8c141c8f3d sys/lib/libsa/lfsv2.c
--- a/sys/lib/libsa/lfsv2.c Sat Jun 08 23:37:37 2013 +0000
+++ b/sys/lib/libsa/lfsv2.c Sun Jun 09 00:02:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfsv2.c,v 1.5 2012/05/21 21:34:16 dsl Exp $ */
+/* $NetBSD: lfsv2.c,v 1.6 2013/06/09 00:02:33 dholland Exp $ */
#define LIBSA_LFS
#define REQUIRED_LFS_VERSION 2
@@ -13,6 +13,9 @@
#define ufs_ls lfsv2_ls
#endif
+/* XXX wrong! but for now it won't build with ulfs2_dinode */
+#define ufs_dinode ulfs1_dinode
+
#define fs_bsize lfs_bsize
#define IFILE_Vx IFILE
Home |
Main Index |
Thread Index |
Old Index