summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_stat.h
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-07-30 12:43:30 +0000
committernewton <newton@FreeBSD.org>1999-07-30 12:43:30 +0000
commit39e910ef22efe79f59e13f1c0251c7fa9a5a8613 (patch)
tree130dfd3cc4fc9ffb73fc001b6f14f32e8341c799 /sys/compat/svr4/svr4_stat.h
parent206f542fa4d3610771ab94e73b4bde5dc9cb191e (diff)
downloadFreeBSD-src-39e910ef22efe79f59e13f1c0251c7fa9a5a8613.zip
FreeBSD-src-39e910ef22efe79f59e13f1c0251c7fa9a5a8613.tar.gz
Fix panic caused when *stat64() family of syscalls try to fill-in
their svr4_stat64 structures with old dev_t values instead of udev_t's. Panic was caused when major() and minor() were called with args which weren't pointers. The panic was probably introduced in rev 1.51 of kern_conf.c
Diffstat (limited to 'sys/compat/svr4/svr4_stat.h')
-rw-r--r--sys/compat/svr4/svr4_stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_stat.h b/sys/compat/svr4/svr4_stat.h
index dea7d1f..082cb40 100644
--- a/sys/compat/svr4/svr4_stat.h
+++ b/sys/compat/svr4/svr4_stat.h
@@ -24,6 +24,8 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $Id$
*/
#ifndef _SVR4_STAT_H_
OpenPOWER on IntegriCloud