aboutsummaryrefslogtreecommitdiffstats
path: root/example/fusexmp_fh.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/fusexmp_fh.c')
-rw-r--r--example/fusexmp_fh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c
index 047ad09..9bf0d25 100644
--- a/example/fusexmp_fh.c
+++ b/example/fusexmp_fh.c
@@ -241,7 +241,7 @@ static int xmp_ftruncate(const char *path, off_t size,
return 0;
}
-static int xmp_utimes(const char *path, const struct timespec ts[2])
+static int xmp_utimens(const char *path, const struct timespec ts[2])
{
int res;
struct timeval tv[2];
@@ -428,7 +428,7 @@ static struct fuse_operations xmp_oper = {
.chown = xmp_chown,
.truncate = xmp_truncate,
.ftruncate = xmp_ftruncate,
- .utimes = xmp_utimes,
+ .utimens = xmp_utimens,
.create = xmp_create,
.open = xmp_open,
.read = xmp_read,