Changes in uspace/srv/hw/irc/obio/obio.c [57d129e:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/obio/obio.c
r57d129e r79ae36dd 44 44 #include <ipc/services.h> 45 45 #include <ipc/irc.h> 46 #include < ipc/ns.h>46 #include <ns.h> 47 47 #include <sysinfo.h> 48 48 #include <as.h> … … 118 118 119 119 if (sysinfo_get_value("obio.base.physical", &paddr) != EOK) { 120 printf( NAME ": no OBIO registers found\n");120 printf("%s: No OBIO registers found\n", NAME); 121 121 return false; 122 122 } … … 130 130 131 131 if (retval < 0) { 132 printf( NAME ": Error mapping OBIO registers\n");132 printf("%s: Error mapping OBIO registers\n", NAME); 133 133 return false; 134 134 } 135 135 136 printf( NAME ": OBIO registers with base at %p\n", base_phys);136 printf("%s: OBIO registers with base at %p\n", NAME, base_phys); 137 137 138 138 async_set_client_connection(obio_connection); … … 144 144 int main(int argc, char **argv) 145 145 { 146 printf( NAME ": HelenOS OBIO driver\n");146 printf("%s: HelenOS OBIO driver\n", NAME); 147 147 148 148 if (!obio_init()) 149 149 return -1; 150 150 151 printf(NAME ": Accepting connections\n"); 151 printf("%s: Accepting connections\n", NAME); 152 task_retval(0); 152 153 async_manager(); 153 154 154 155 /* Never reached */ 155 156 return 0; … … 158 159 /** 159 160 * @} 160 */ 161 */
Note:
See TracChangeset
for help on using the changeset viewer.