diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-13 14:37:43 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-13 14:37:43 +0100 |
commit | 9beb53ca567147aa2cd03c8e68b11706bc284713 (patch) | |
tree | 474e60d08a078b7cfa146c97954ed600ad01c11e /daemon/cmp.c | |
parent | e99fb52fb7112dd72be0a43970542df85590556a (diff) | |
download | libguestfs-9beb53ca567147aa2cd03c8e68b11706bc284713.tar.gz libguestfs-9beb53ca567147aa2cd03c8e68b11706bc284713.tar.xz libguestfs-9beb53ca567147aa2cd03c8e68b11706bc284713.zip |
do_equal does not need to explicitly check for NEED_ROOT/ABS_PATH.
Diffstat (limited to 'daemon/cmp.c')
-rw-r--r-- | daemon/cmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/daemon/cmp.c b/daemon/cmp.c index 56717c55..2b7e33b5 100644 --- a/daemon/cmp.c +++ b/daemon/cmp.c @@ -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"); |