Changeset d57e08f in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2009-10-02T14:20:27Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f563126
- Parents:
- f5af635 (diff), bbddafb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
rf5af635 rd57e08f 43 43 #include <errno.h> 44 44 #include <unistd.h> 45 #include <task.h> 45 46 #include <stdio.h> 46 47 #include <libfs.h> 47 48 #include "../../vfs/vfs.h" 48 49 50 #define NAME "fat" 49 51 50 52 vfs_info_t fat_vfs_info = { 51 .name = "fat",53 .name = NAME, 52 54 }; 53 55 … … 83 85 } 84 86 85 dprintf( "VFS-FAT connection established.\n");87 dprintf(NAME ": connection opened\n"); 86 88 while (1) { 87 89 ipc_callid_t callid; … … 137 139 int rc; 138 140 139 printf( "fat: HelenOS FAT file system server.\n");141 printf(NAME ": HelenOS FAT file system server\n"); 140 142 141 143 rc = fat_idx_init(); … … 145 147 vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 146 148 if (vfs_phone < EOK) { 147 printf( "fat: failed to connect to VFS\n");149 printf(NAME ": failed to connect to VFS\n"); 148 150 return -1; 149 151 } … … 155 157 } 156 158 157 dprintf("FAT filesystem registered, fs_handle=%d.\n", 158 fat_reg.fs_handle); 159 159 printf(NAME ": Accepting connections\n"); 160 task_retval(0); 160 161 async_manager(); 161 162 /* not reached */ … … 163 164 164 165 err: 165 printf( "Failed to register the FATfile system (%d)\n", rc);166 printf(NAME ": Failed to register file system (%d)\n", rc); 166 167 return rc; 167 168 }
Note:
See TracChangeset
for help on using the changeset viewer.