char *err;
int r;
- IS_DEVICE (device, -1);
-
r = command (NULL, &err, "scrub", device, NULL);
if (r == -1) {
reply_with_error ("scrub_device: %s: %s", device, err);
int r;
NEED_ROOT (-1);
- ABS_PATH (file, -1);
+ ABS_PATH (file, return -1);
/* Make the path relative to /sysroot. */
buf = sysroot_path (file);
int r;
NEED_ROOT (-1);
- ABS_PATH (dir, -1);
+ ABS_PATH (dir, return -1);
/* Make the path relative to /sysroot. */
buf = sysroot_path (dir);