Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/volsrv/mkfs.c

    rf3504c1 rb7fd2a0  
    4747#include "mkfs.h"
    4848
    49 static int cmd_runl(const char *path, ...)
     49static errno_t cmd_runl(const char *path, ...)
    5050{
    5151        va_list ap;
     
    6363        task_id_t id;
    6464        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);
    6666        va_end(ap);
    6767
     
    9898        }
    9999
    100         return retval;
     100        return retval == 0 ? EOK : EPARTY;
    101101}
    102102
    103103
    104 int volsrv_part_mkfs(service_id_t sid, vol_fstype_t fstype, const char *label)
     104errno_t volsrv_part_mkfs(service_id_t sid, vol_fstype_t fstype, const char *label)
    105105{
    106106        const char *cmd;
    107107        char *svc_name;
    108         int rc;
     108        errno_t rc;
    109109
    110110        cmd = NULL;
Note: See TracChangeset for help on using the changeset viewer.