PERFORCE change 150203 for review
Ed Schouten
ed at FreeBSD.org
Sun Sep 21 13:45:23 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150203
Change 150203 by ed at 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);
}
More information about the p4-projects
mailing list