diff options
author | Miles Bader <miles@gnu.org> | 1995-10-13 23:17:16 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-13 23:17:16 +0000 |
commit | 975e0c9d698594d76b62be79788b4a0dacecab77 (patch) | |
tree | ea7ad204d8c2e2f27ba2f982b4ba8fe8c1de2314 /ufs | |
parent | 6c2c5bbca4124343cc0a07c22363de408d1ac309 (diff) |
(diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE,
and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ufs/inode.c b/ufs/inode.c index db1ef96d..b15c9848 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -680,10 +680,11 @@ diskfs_S_file_get_storage_info (struct protid *cred, *class = STORAGE_DEVICE; *block_size = DEV_BSIZE; - strcpy (storage_name, ufs_device_name); + if (diskfs_device_name) + strcpy (storage_name, diskfs_device_name); if (diskfs_isuid (0, cred)) - *storage_port = ufs_device; + *storage_port = diskfs_device; else *storage_port = MACH_PORT_NULL; *storage_port_type = MACH_MSG_TYPE_COPY_SEND; |