mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
do_equal does not need to explicitly check for NEED_ROOT/ABS_PATH.
This commit is contained in:
@@ -34,10 +34,6 @@ do_equal (const char *file1, const char *file2)
|
||||
char *err;
|
||||
int r;
|
||||
|
||||
NEED_ROOT (return -1);
|
||||
ABS_PATH (file1, return -1);
|
||||
ABS_PATH (file2, return -1);
|
||||
|
||||
file1buf = sysroot_path (file1);
|
||||
if (file1buf == NULL) {
|
||||
reply_with_perror ("malloc");
|
||||
|
||||
Reference in New Issue
Block a user