From owner-freebsd-commit Thu Apr 20 15:00:13 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA11659 for commit-outgoing; Thu, 20 Apr 1995 15:00:13 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA11643 for cvs-sys-outgoing; Thu, 20 Apr 1995 15:00:10 -0700 Received: (from julian@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA11633 ; Thu, 20 Apr 1995 15:00:07 -0700 Date: Thu, 20 Apr 1995 15:00:07 -0700 From: Julian Elischer Message-Id: <199504202200.PAA11633@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/miscfs/devfs devfs_vnops.c Sender: commit-owner@FreeBSD.org Precedence: bulk julian 95/04/20 15:00:06 Modified: sys/miscfs/devfs devfs_vnops.c Log: Submitted by: phk@freebsd.org Reviewed by: Julian fixes the 'find' anomaly mentionned in the README (hmm I guess I should fix that too..) diff -r1.2 devfs_vnops.c 905a906 > dirent.d_type = DT_DIR; 914a916 > dirent.d_type = DT_DIR; 920a923,941 > switch(name_node->dnp->type) { > case DEV_BDEV: > dirent.d_type = DT_BLK; > break; > case DEV_CDEV: > dirent.d_type = DT_CHR; > break; > case DEV_DDEV: > dirent.d_type = DT_SOCK; /*XXX*/ > break; > case DEV_DIR: > dirent.d_type = DT_DIR; > break; > case DEV_SLNK: > dirent.d_type = DT_LNK; > break; > default: > dirent.d_type = DT_UNKNOWN; > }