summaryrefslogtreecommitdiff
path: root/libdiskfs/readonly-changed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/readonly-changed.c')
-rw-r--r--libdiskfs/readonly-changed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/readonly-changed.c b/libdiskfs/readonly-changed.c
index 44ee9225..7a1c03e8 100644
--- a/libdiskfs/readonly-changed.c
+++ b/libdiskfs/readonly-changed.c
@@ -24,7 +24,7 @@
changed from read-only to read-write mode or vice-versa. READONLY is the
new state (which is also reflected in DISKFS_READONLY). This function is
also called during initial startup if the filesystem is to be writable. */
-void
+void __attribute__ ((weak))
diskfs_readonly_changed (int readonly)
{
/* By default do nothing at all. */