summaryrefslogtreecommitdiffstats
path: root/lib/notifier-error-inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/notifier-error-inject.c')
-rw-r--r--lib/notifier-error-inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/notifier-error-inject.c b/lib/notifier-error-inject.c
index eb4a04afe..125ea8ce2 100644
--- a/lib/notifier-error-inject.c
+++ b/lib/notifier-error-inject.c
@@ -14,7 +14,7 @@ static int debugfs_errno_get(void *data, u64 *val)
return 0;
}
-DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set,
+DEFINE_SIMPLE_ATTRIBUTE_SIGNED(fops_errno, debugfs_errno_get, debugfs_errno_set,
"%lld\n");
static struct dentry *debugfs_create_errno(const char *name, umode_t mode,