Lines Matching refs:rslt
250 int rslt;
254 rslt = asprintf(&args.fspec,
259 if (rslt == -1) {
261 return rslt;
264 rslt = snprintf(cmd, sizeof(cmd), newfsfmt, args.fspec);
265 if (rslt >= sizeof(cmd)) {
268 rslt = -1;
269 return rslt;
276 rslt = system(cmd);
277 if (rslt == -1) {
280 return rslt;
297 int rslt;
309 rslt = asprintf(&args.fspec,
314 if (rslt == -1) {
325 rslt = snprintf(cmd, sizeof(cmd), fsckfmt, args.fspec);
326 if (rslt >= sizeof(cmd)) {
328 rslt = -1;
331 rslt = system(cmd);
332 if (rslt == -1) {
338 rslt = create_filesystem(dl, part);
339 if (rslt == -1)
341 rslt = mount(MOUNT_MSDOS, dst, 0, &args);
342 if (rslt == -1) {
351 rslt = -1;
355 rslt = mkdir(dst, 0);
356 if (rslt == -1 && errno != EEXIST) {
361 rslt = -1;
365 rslt = mkdir(dst, 0);
366 if (rslt == -1 && errno != EEXIST) {
378 rslt = -1;
384 rslt = -1;
392 rslt = filecopy(src, dst);
393 if (rslt == -1)
400 rslt = -1;
405 rslt = -1;
413 rslt = filecopy(src, dst);
414 if (rslt == -1)
418 rslt = 0;
433 if (rslt == -1)