Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2008 13:45:22 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 150203 for review
Message-ID:  <200809211345.m8LDjMdo097244@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150203

Change 150203 by ed@ed_dull on 2008/09/21 13:44:46

	Small nit: make fstat() look like it's stat'ing a character device.

Affected files ...

.. //depot/projects/mpsafetty/sys/kern/tty_pts.c#21 edit

Differences ...

==== //depot/projects/mpsafetty/sys/kern/tty_pts.c#21 (text+ko) ====

@@ -454,7 +454,7 @@
 	sb->st_mtimespec = dev->si_mtime;
 	sb->st_uid = dev->si_uid;
 	sb->st_gid = dev->si_gid;
-	sb->st_mode = dev->si_mode;
+	sb->st_mode = dev->si_mode | S_IFCHR;
 	
 	return (0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809211345.m8LDjMdo097244>