aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2006-09-16 08:52:09 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2006-09-16 08:52:09 +0000
commitc3b76815f753b8303a16f7f394748948665c75ba (patch)
tree6fe15d0b12dffa0dbe6c510438fb747911d6350e /example
parent908c18e058f3ecd79012a4991025f4be051d7d9a (diff)
fix
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,