Module Name:    src
Committed By:   martin
Date:           Fri Aug 23 17:11:17 UTC 2024

Modified Files:
        src/sys/ufs/ext2fs [netbsd-9]: ext2fs_dir.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1873):

        sys/ufs/ext2fs/ext2fs_dir.h: revision 1.23

PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.20.1 src/sys/ufs/ext2fs/ext2fs_dir.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ext2fs/ext2fs_dir.h
diff -u src/sys/ufs/ext2fs/ext2fs_dir.h:1.22 src/sys/ufs/ext2fs/ext2fs_dir.h:1.22.20.1
--- src/sys/ufs/ext2fs/ext2fs_dir.h:1.22	Sun Aug  7 01:47:11 2016
+++ src/sys/ufs/ext2fs/ext2fs_dir.h	Fri Aug 23 17:11:17 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: ext2fs_dir.h,v 1.22 2016/08/07 01:47:11 kre Exp $	*/
+/*	$NetBSD: ext2fs_dir.h,v 1.22.20.1 2024/08/23 17:11:17 martin Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -174,7 +174,7 @@ ext2dt2dt(uint8_t type)
 {
 	switch (type) {
 	case EXT2_FT_REG_FILE:
-		return DT_FIFO;
+		return DT_REG;
 	case EXT2_FT_DIR:
 		return DT_DIR;
 	case EXT2_FT_CHRDEV:

Reply via email to