Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/fs/udf/udf_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/fs/udf/udf_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7.2.2 retrieving revision 1.8 diff -u -p -r1.7.2.2 -r1.8 --- src/sys/fs/udf/udf_vnops.c 2007/02/17 23:27:46 1.7.2.2 +++ src/sys/fs/udf/udf_vnops.c 2006/12/09 16:11:51 1.8 @@ -1,4 +1,4 @@ -/* $NetBSD: udf_vnops.c,v 1.7.2.2 2007/02/17 23:27:46 tron Exp $ */ +/* $NetBSD: udf_vnops.c,v 1.8 2006/12/09 16:11:51 chs Exp $ */ /* * Copyright (c) 2006 Reinoud Zandijk @@ -36,7 +36,7 @@ #include #ifndef lint -__RCSID("$NetBSD: udf_vnops.c,v 1.7.2.2 2007/02/17 23:27:46 tron Exp $"); +__RCSID("$NetBSD: udf_vnops.c,v 1.8 2006/12/09 16:11:51 chs Exp $"); #endif /* not lint */ @@ -698,7 +698,7 @@ udf_getattr(void *v) vap->va_gen = 1; /* no multiple generations yes (!?) */ vap->va_flags = 0; /* no flags */ vap->va_rdev = udf_node->rdev; - vap->va_bytes = blkssize * udf_node->ump->discinfo.sector_size; + vap->va_bytes = udf_node->ump->discinfo.sector_size * blkssize; vap->va_filerev = 1; /* TODO file revision numbers? */ vap->va_vaflags = 0; /* TODO which va_vaflags? */