Changes in uspace/lib/libc/generic/vfs/vfs.c [1313ee9:2b88074b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/vfs/vfs.c
r1313ee9 r2b88074b 117 117 } 118 118 119 int mount(const char *fs_name, const char *mp, const char * fqdn,119 int mount(const char *fs_name, const char *mp, const char *dev, 120 120 const char *opts, unsigned int flags) 121 121 { … … 126 126 dev_handle_t dev_handle; 127 127 128 res = devmap_device_get_handle( fqdn, &dev_handle, flags);128 res = devmap_device_get_handle(dev, &dev_handle, flags); 129 129 if (res != EOK) 130 130 return res; … … 703 703 rc = fstat(fildes, &stat); 704 704 705 if (!stat.dev ice)705 if (!stat.devfs_stat.device) 706 706 return -1; 707 707 708 return devmap_device_connect(stat.dev ice, 0);708 return devmap_device_connect(stat.devfs_stat.device, 0); 709 709 } 710 710
Note:
See TracChangeset
for help on using the changeset viewer.