diff options
author | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-13 16:44:21 +0000 |
---|---|---|
committer | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-13 16:44:21 +0000 |
commit | fac5e312f958cb4168ececee6eee14f31d82d3cf (patch) | |
tree | 884132e37ed30c9f2e7f736a1a83f48f8fd68cfc /sbin/newfs_ext2fs/Makefile | |
parent | 5e65892f6338d56618a656d83106f948e9497732 (diff) |
kill fs2hXX/h2fsXX macros with letohXX/htoleXX
The reason being that ext2 structures are little-endian but JBD2 journal
is big-endian. Don't confuse readers by talking about "file system endian".
While here, nuke the copy of bswap.c and link it against the kernel's like
fsck_ext2fs has done, for better maintainability.
ok guenther
Diffstat (limited to 'sbin/newfs_ext2fs/Makefile')
-rw-r--r-- | sbin/newfs_ext2fs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/newfs_ext2fs/Makefile b/sbin/newfs_ext2fs/Makefile index 15017598ae2..bc0fc94ba69 100644 --- a/sbin/newfs_ext2fs/Makefile +++ b/sbin/newfs_ext2fs/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2010/02/17 19:26:48 otto Exp $ +# $OpenBSD: Makefile,v 1.3 2014/07/13 16:44:20 pelikan Exp $ PROG= newfs_ext2fs SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c MAN= newfs_ext2fs.8 +.PATH: ${.CURDIR}/../../sys/ufs/ext2fs DPADD+= ${LIBUTIL} LDADD+= -lutil |