summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/optstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c
index 1bc2566c4..a3a5d0a08 100644
--- a/libmount/src/optstr.c
+++ b/libmount/src/optstr.c
@@ -169,7 +169,7 @@ int mnt_optstr_next_option(char **optstr, char **name, size_t *namesz,
return mnt_optstr_parse_next(optstr, name, namesz, value, valuesz);
}
-static int __attribute__((nonnull))
+static int __attribute__((nonnull(1, 2)))
__mnt_optstr_append_option(char **optstr,
const char *name, size_t nsz,
const char *value, size_t vsz)