char *mp;
char *error;
- RESOLVE_DEVICE (device, return -1);
-
is_root = strcmp (mountpoint, "/") == 0;
if (!root_mounted && !is_root) {
char *buf, *mp;
char *error;
- NEED_ROOT (-1);
+ NEED_ROOT (return -1);
ABS_PATH (file, return -1);
/* We have to prefix /sysroot on both the filename and the mountpoint. */
{
int r;
- /* NEED_ROOT (-1); - we don't want this test for this call. */
+ /* NEED_ROOT (return -1); - we don't want this test for this call. */
ABS_PATH (path, return -1);
CHROOT_IN;
{
int r;
- NEED_ROOT (-1);
+ NEED_ROOT (return -1);
ABS_PATH (path, return -1);
CHROOT_IN;