Changes in uspace/srv/volsrv/mkfs.c [f3504c1:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/mkfs.c
rf3504c1 rb7fd2a0 47 47 #include "mkfs.h" 48 48 49 static int cmd_runl(const char *path, ...)49 static errno_t cmd_runl(const char *path, ...) 50 50 { 51 51 va_list ap; … … 63 63 task_id_t id; 64 64 task_wait_t wait; 65 int rc = task_spawn(&id, &wait, path, cnt, ap);65 errno_t rc = task_spawn(&id, &wait, path, cnt, ap); 66 66 va_end(ap); 67 67 … … 98 98 } 99 99 100 return retval ;100 return retval == 0 ? EOK : EPARTY; 101 101 } 102 102 103 103 104 int volsrv_part_mkfs(service_id_t sid, vol_fstype_t fstype, const char *label)104 errno_t volsrv_part_mkfs(service_id_t sid, vol_fstype_t fstype, const char *label) 105 105 { 106 106 const char *cmd; 107 107 char *svc_name; 108 int rc;108 errno_t rc; 109 109 110 110 cmd = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.