diff options
author | Karel Zak | 2014-10-07 13:41:40 +0200 |
---|---|---|
committer | Karel Zak | 2014-10-07 13:41:40 +0200 |
commit | 473c5fb86c43eed41fc5ce8532699b6421f469e0 (patch) | |
tree | 51b4590eef712bdaab263b305083cee1a9726fa0 /libmount/src/utils.c | |
parent | libblkid: zeroize errno on blkid_probe_get_buffer() success (diff) | |
download | kernel-qcow2-util-linux-473c5fb86c43eed41fc5ce8532699b6421f469e0.tar.gz kernel-qcow2-util-linux-473c5fb86c43eed41fc5ce8532699b6421f469e0.tar.xz kernel-qcow2-util-linux-473c5fb86c43eed41fc5ce8532699b6421f469e0.zip |
libmount: fix mnt_is_readonly() #ifdef
This issue affects util-linux portability to GNU/HURD
Reported-by: Pino Toscano (from Red Hat)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/utils.c')
-rw-r--r-- | libmount/src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/utils.c b/libmount/src/utils.c index d97390e94..dc265c282 100644 --- a/libmount/src/utils.c +++ b/libmount/src/utils.c @@ -193,7 +193,7 @@ int mnt_is_readonly(const char *path) if (errno != EACCES) return 0; -#ifdef HAVE_FUTIMENS +#ifdef HAVE_UTIMENSAT /* * access(2) returns EACCES on read-only FS: * |