Changes in uspace/srv/fs/fat/fat.c [bbddafb:852b801] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
rbbddafb r852b801 43 43 #include <errno.h> 44 44 #include <unistd.h> 45 #include <task.h>46 45 #include <stdio.h> 47 46 #include <libfs.h> 48 47 #include "../../vfs/vfs.h" 49 48 50 #define NAME "fat"51 49 52 50 vfs_info_t fat_vfs_info = { 53 .name = NAME,51 .name = "fat", 54 52 }; 55 53 … … 85 83 } 86 84 87 dprintf( NAME ": connection opened\n");85 dprintf("VFS-FAT connection established.\n"); 88 86 while (1) { 89 87 ipc_callid_t callid; … … 139 137 int rc; 140 138 141 printf( NAME ": HelenOS FAT file system server\n");139 printf("fat: HelenOS FAT file system server.\n"); 142 140 143 141 rc = fat_idx_init(); … … 147 145 vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 148 146 if (vfs_phone < EOK) { 149 printf( NAME ": failed to connect to VFS\n");147 printf("fat: failed to connect to VFS\n"); 150 148 return -1; 151 149 } … … 157 155 } 158 156 159 printf(NAME ": Accepting connections\n"); 160 task_retval(0); 157 dprintf("FAT filesystem registered, fs_handle=%d.\n", 158 fat_reg.fs_handle); 159 161 160 async_manager(); 162 161 /* not reached */ … … 164 163 165 164 err: 166 printf( NAME ": Failed to registerfile system (%d)\n", rc);165 printf("Failed to register the FAT file system (%d)\n", rc); 167 166 return rc; 168 167 }
Note:
See TracChangeset
for help on using the changeset viewer.