Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Don't truncate minor numbers >= 256.
details: https://anonhg.NetBSD.org/src/rev/ed3de979281c
branches: trunk
changeset: 476101:ed3de979281c
user: is <is%NetBSD.org@localhost>
date: Mon Sep 06 09:27:18 1999 +0000
description:
Don't truncate minor numbers >= 256.
Problem reported by Saitoh Masanobu, fix by Frank van der Linden.
diffstat:
sys/nfs/nfs_subs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r ae6c1d77f1aa -r ed3de979281c sys/nfs/nfs_subs.c
--- a/sys/nfs/nfs_subs.c Mon Sep 06 06:45:20 1999 +0000
+++ b/sys/nfs/nfs_subs.c Mon Sep 06 09:27:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_subs.c,v 1.70 1999/07/08 01:06:03 wrstuden Exp $ */
+/* $NetBSD: nfs_subs.c,v 1.71 1999/09/06 09:27:18 is Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -1532,8 +1532,8 @@
if (v3) {
vtyp = nfsv3tov_type(fp->fa_type);
vmode = fxdr_unsigned(u_short, fp->fa_mode);
- rdev = makedev(fxdr_unsigned(u_char, fp->fa3_rdev.specdata1),
- fxdr_unsigned(u_char, fp->fa3_rdev.specdata2));
+ rdev = makedev(fxdr_unsigned(u_int32_t, fp->fa3_rdev.specdata1),
+ fxdr_unsigned(u_int32_t, fp->fa3_rdev.specdata2));
fxdr_nfsv3time(&fp->fa3_mtime, &mtime);
} else {
vtyp = nfsv2tov_type(fp->fa_type);
Home |
Main Index |
Thread Index |
Old Index