aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/ufs.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-03-17 12:59:55 +0000
committerEd Maste <emaste@FreeBSD.org>2018-03-17 12:59:55 +0000
commitd8ba45e21358ccd9c50991e62cf863bc19699756 (patch)
tree45c6abbd5a9b767ea88e1ebc76e9d804b6a87cd7 /stand/libsa/ufs.c
parent7651c3af83d9d83f9b6f18bb55eba52fe1657e55 (diff)
downloadsrc-d8ba45e21358ccd9c50991e62cf863bc19699756.tar.gz
src-d8ba45e21358ccd9c50991e62cf863bc19699756.zip
Revert r313780 (UFS_ prefix)
Notes
Notes: svn path=/head/; revision=331095
Diffstat (limited to 'stand/libsa/ufs.c')
-rw-r--r--stand/libsa/ufs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/libsa/ufs.c b/stand/libsa/ufs.c
index 60d13e0be4d8..2cad803e3c73 100644
--- a/stand/libsa/ufs.c
+++ b/stand/libsa/ufs.c
@@ -557,7 +557,7 @@ ufs_open(upath, f)
/*
* Check that current node is a directory.
*/
- if ((DIP(fp, di_mode) & UFS_IFMT) != UFS_IFDIR) {
+ if ((DIP(fp, di_mode) & IFMT) != IFDIR) {
rc = ENOTDIR;
goto out;
}
@@ -599,7 +599,7 @@ ufs_open(upath, f)
/*
* Check for symbolic link.
*/
- if ((DIP(fp, di_mode) & UFS_IFMT) == UFS_IFLNK) {
+ if ((DIP(fp, di_mode) & IFMT) == IFLNK) {
int link_len = DIP(fp, di_size);
int len;