guestfs_int_stat *ret;
struct stat statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ NEED_ROOT (return NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
r = stat (path, &statbuf);
guestfs_int_stat *ret;
struct stat statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ NEED_ROOT (return NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
r = lstat (path, &statbuf);
guestfs_int_statvfs *ret;
struct statvfs statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ NEED_ROOT (return NULL);
+ ABS_PATH (path, return NULL);
CHROOT_IN;
r = statvfs (path, &statbuf);