aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/fusexmp.c4
-rw-r--r--example/fusexmp_fh.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/example/fusexmp.c b/example/fusexmp.c
index 5f54667..b32e236 100644
--- a/example/fusexmp.c
+++ b/example/fusexmp.c
@@ -205,7 +205,7 @@ static int xmp_truncate(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];
@@ -357,7 +357,7 @@ static struct fuse_operations xmp_oper = {
.chmod = xmp_chmod,
.chown = xmp_chown,
.truncate = xmp_truncate,
- .utimes = xmp_utimes,
+ .utimens = xmp_utimens,
.open = xmp_open,
.read = xmp_read,
.write = xmp_write,
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,