char buf[256];
int i;
- RESOLVE_DEVICE (device, return -1);
-
strcpy (buf, "/sbin/sfdisk");
if (n > 0)
char *out, *err;
int r;
- RESOLVE_DEVICE (device, return NULL);
-
r = command (&out, &err, "/sbin/sfdisk", flag, device, NULL);
if (r == -1) {
reply_with_error ("sfdisk: %s: %s", device, err);