diff options
author | Karel Zak <kzak@redhat.com> | 2013-03-27 14:28:42 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2013-03-27 14:28:42 +0100 |
commit | 66c00f1f95e7b87ecb9c819f57a09e2b3493d755 (patch) | |
tree | 99c75d8c11532a1d4d167767674dee960abbfe6f /libmount/src | |
parent | b48d80fbe0c02af2ca8b71139735e9790743a3e2 (diff) | |
download | util-linux-66c00f1f95e7b87ecb9c819f57a09e2b3493d755.tar.gz |
libmount: fix __mnt_optstr_append_option() nonull attribute [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src')
-rw-r--r-- | libmount/src/optstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 1bc2566c..a3a5d0a0 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) |