From 5ad92b829425e9d881a50541be3e503f4424d2d6 Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 12 Feb 2002 23:11:58 +0000 Subject: [PATCH] Fixed irix_blkcnt_t size (was 64 bit, changed to 32). This caused alignment troubles in struct stat, hence giving wrong st_blocks, st_blksize and st_size values. --- sys/compat/irix/irix_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/irix/irix_types.h b/sys/compat/irix/irix_types.h index b8252fdac75e..2cad503e2cb8 100644 --- a/sys/compat/irix/irix_types.h +++ b/sys/compat/irix/irix_types.h @@ -1,4 +1,4 @@ -/* $NetBSD: irix_types.h,v 1.10 2002/02/04 20:26:34 manu Exp $ */ +/* $NetBSD: irix_types.h,v 1.11 2002/02/12 23:11:58 manu Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -79,7 +79,7 @@ typedef __int32_t irix_pid_t; typedef int irix_time_t; typedef unsigned long irix_size_t; #endif -typedef __int64_t irix_blkcnt_t; +typedef __int32_t irix_blkcnt_t; typedef __uint64_t irix_ino64_t; typedef __int64_t irix_off64_t; typedef __int64_t irix_blkcnt64_t;