diff options
author | наб <[email protected]> | 2021-06-05 13:14:12 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-07-26 12:07:15 -0700 |
commit | 5dbf6c5a66d3de65f1b0436c8e83097dd49ff059 (patch) | |
tree | 59d33400d59c4935afcd37bbbf0263dd96cac71f /include/libuutil_impl.h | |
parent | 13737094503a38a219f1ffe641cb257bb4b879cb (diff) |
Replace /*PRINTFLIKEn*/ with attribute(printf)
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Issue #12201
Diffstat (limited to 'include/libuutil_impl.h')
-rw-r--r-- | include/libuutil_impl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libuutil_impl.h b/include/libuutil_impl.h index 50d8e012d..753bbff24 100644 --- a/include/libuutil_impl.h +++ b/include/libuutil_impl.h @@ -42,8 +42,7 @@ extern "C" { void uu_set_error(uint_t); -/*PRINTFLIKE1*/ -void uu_panic(const char *format, ...); +void uu_panic(const char *format, ...) __attribute__((format(printf, 1, 2))); /* |