Changes in uspace/app/ext2info/ext2info.c [82a3b31f:15f3c3f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/ext2info/ext2info.c
r82a3b31f r15f3c3f 42 42 #include <libblock.h> 43 43 #include <mem.h> 44 #include < devmap.h>44 #include <loc.h> 45 45 #include <byteorder.h> 46 46 #include <sys/types.h> … … 81 81 char *endptr; 82 82 char *dev_path; 83 devmap_handle_t handle;83 service_id_t service_id; 84 84 ext2_filesystem_t filesystem; 85 85 int arg_flags; … … 178 178 dev_path = *argv; 179 179 180 rc = devmap_device_get_handle(dev_path, &handle, 0);180 rc = loc_service_get_id(dev_path, &service_id, 0); 181 181 if (rc != EOK) { 182 182 printf(NAME ": Error resolving device `%s'.\n", dev_path); … … 184 184 } 185 185 186 rc = ext2_filesystem_init(&filesystem, handle);186 rc = ext2_filesystem_init(&filesystem, service_id); 187 187 if (rc != EOK) { 188 188 printf(NAME ": Error initializing libext2.\n");
Note:
See TracChangeset
for help on using the changeset viewer.