X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffile.c;h=0b50eebd7fa66b00a284d81e6b1647d91b4bcb28;hp=252c02c3f4caffe63238afe0dd8151b79994e3ec;hb=fd84feb8229f792e22e3cbfa9bf7e8156947eb2f;hpb=9a8889e4d0c532b9f77af3a9cc7aae06adebfb83 diff --git a/daemon/file.c b/daemon/file.c index 252c02c..0b50eeb 100644 --- a/daemon/file.c +++ b/daemon/file.c @@ -44,11 +44,7 @@ do_touch (const char *path) return -1; } -#ifdef HAVE_FUTIMENS r = futimens (fd, NULL); -#else - r = futimes (fd, NULL); -#endif if (r == -1) { reply_with_perror ("futimens: %s", path); close (fd);