瀏覽代碼

s/{name,describe}/{name,describe}_device/

tags/v0.9.3
Michael Brown 19 年之前
父節點
當前提交
8cd0693396
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      src/core/main.c

+ 5
- 4
src/core/main.c 查看文件

@@ -190,9 +190,9 @@ int main ( void ) {
190 190
 		/* Print out what we're doing */
191 191
 		printf ( "Booting from %s %s at %s "
192 192
 			 "using the %s driver\n",
193
-			 dev.bus_driver->name ( &dev.bus_dev ),
193
+			 dev.bus_driver->name_device ( &dev.bus_dev ),
194 194
 			 dev.type_driver->name,
195
-			 dev.bus_driver->describe ( &dev.bus_dev ),
195
+			 dev.bus_driver->describe_device ( &dev.bus_dev ),
196 196
 			 dev.device_driver->name );
197 197
 
198 198
 		/* Probe boot device */
@@ -202,8 +202,9 @@ int main ( void ) {
202 202
 			continue;
203 203
 		}
204 204
 		
205
-		printf ( "%s: %s\n", dev.bus_driver->name ( &dev.bus_dev ),
206
-			 dev.type_driver->describe ( dev.type_dev ) );
205
+		printf ( "%s: %s\n",
206
+			 dev.bus_driver->name_device ( &dev.bus_dev ),
207
+			 dev.type_driver->describe_device ( dev.type_dev ) );
207 208
 	}
208 209
 
209 210
 	/* Call registered per-object exit functions */

Loading…
取消
儲存