Lines Matching refs:errstr
50 gpart_show_error(const char *title, const char *explanation, const char *errstr) in gpart_show_error() argument
60 error = strtol(errstr, &errmsg, 0); in gpart_show_error()
61 if (errmsg != errstr) { in gpart_show_error()
290 const char *errstr; in gpart_partition() local
328 errstr = gctl_issue(r); in gpart_partition()
329 if (errstr != NULL && errstr[0] != '\0') { in gpart_partition()
330 gpart_show_error("Error", NULL, errstr); in gpart_partition()
347 const char *errstr, *scheme; in gpart_activate() local
381 errstr = gctl_issue(r); in gpart_activate()
382 if (errstr != NULL && errstr[0] != '\0') in gpart_activate()
384 errstr); in gpart_activate()
392 const char *errstr; in gpart_set_root() local
401 errstr = gctl_issue(r); in gpart_set_root()
402 if (errstr != NULL && errstr[0] != '\0') in gpart_set_root()
404 errstr); in gpart_set_root()
414 const char *errstr, *scheme; in gpart_bootcode() local
457 errstr = gctl_issue(r); in gpart_bootcode()
458 if (errstr != NULL && errstr[0] != '\0') in gpart_bootcode()
459 gpart_show_error("Bootcode Error", NULL, errstr); in gpart_bootcode()
509 const char *errstr; in gpart_destroy() local
531 errstr = gctl_issue(r); in gpart_destroy()
532 if (errstr != NULL && errstr[0] != '\0') { in gpart_destroy()
537 if (strtol(errstr, NULL, 0) != EINVAL) in gpart_destroy()
538 gpart_show_error("Error", NULL, errstr); in gpart_destroy()
553 const char *errstr, *oldtype, *scheme; in gpart_edit() local
698 errstr = gctl_issue(r); in gpart_edit()
699 if (errstr != NULL && errstr[0] != '\0') { in gpart_edit()
700 gpart_show_error("Error", NULL, errstr); in gpart_edit()
1036 const char *errstr, *scheme; in gpart_create() local
1313 errstr = gctl_issue(r); in gpart_create()
1314 if (errstr != NULL && errstr[0] != '\0') { in gpart_create()
1315 gpart_show_error("Error", NULL, errstr); in gpart_create()
1363 const char *errstr; in gpart_delete() local
1423 errstr = gctl_issue(r); in gpart_delete()
1424 if (errstr != NULL && errstr[0] != '\0') { in gpart_delete()
1425 gpart_show_error("Error", NULL, errstr); in gpart_delete()
1490 const char *errstr; in gpart_commit() local
1558 errstr = gctl_issue(r); in gpart_commit()
1559 if (errstr != NULL && errstr[0] != '\0') in gpart_commit()
1560 gpart_show_error("Error", NULL, errstr); in gpart_commit()