Changeset c9957b6 in mainline for uspace/app/tester/vfs/vfs1.c
- Timestamp:
- 2007-12-22T20:13:59Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4eb8a60
- Parents:
- 6344851
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/vfs/vfs1.c
r6344851 rc9957b6 38 38 #define TMPFS_DEVHANDLE 999 39 39 40 char buf[FS_NAME_MAXLEN + 1] = "tmpfs"; 40 char fs_name[] = "tmpfs"; 41 char mp[] = "/"; 41 42 42 43 char *test_vfs1(bool quiet) … … 53 54 aid_t req; 54 55 req = async_send_1(vfs_phone, VFS_MOUNT, TMPFS_DEVHANDLE, NULL); 55 buf[sizeof(buf) - 1] = '/'; 56 if (ipc_data_send(vfs_phone, buf, sizeof(buf)) != EOK) { 56 if (ipc_data_send(vfs_phone, fs_name, strlen(fs_name)) != EOK) { 57 57 async_wait_for(req, &rc); 58 return "Could not send data to VFS.\n"; 58 return "Could not send fs_name to VFS.\n"; 59 } 60 if (ipc_data_send(vfs_phone, mp, strlen(mp)) != EOK) { 61 async_wait_for(req, &rc); 62 return "Could not send mp to VFS.\n"; 59 63 } 60 64 async_wait_for(req, &rc);
Note:
See TracChangeset
for help on using the changeset viewer.