From 3f0f59294d186bacd41056b48ce843056bcb5316 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 7 Oct 1995 00:26:55 +0000 Subject: (diskfs_S_file_get_storage_info): Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter. --- ufs/inode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ufs/inode.c') diff --git a/ufs/inode.c b/ufs/inode.c index 2c1c7278..db1ef96d 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -594,8 +594,9 @@ diskfs_shutdown_soft_ports () error_t diskfs_S_file_get_storage_info (struct protid *cred, int *class, - int **addresses, + off_t **addresses, u_int *naddresses, + size_t *block_size, char *storage_name, mach_port_t *storage_port, mach_msg_type_name_t *storage_port_type, @@ -677,7 +678,8 @@ diskfs_S_file_get_storage_info (struct protid *cred, diskfs_end_catch_exception (); *class = STORAGE_DEVICE; - + *block_size = DEV_BSIZE; + strcpy (storage_name, ufs_device_name); if (diskfs_isuid (0, cred)) -- cgit v1.2.3