diff options
Diffstat (limited to 'lib/sg_cmds_basic2.c')
-rw-r--r-- | lib/sg_cmds_basic2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sg_cmds_basic2.c b/lib/sg_cmds_basic2.c index 17c595a2..9c3fbc62 100644 --- a/lib/sg_cmds_basic2.c +++ b/lib/sg_cmds_basic2.c @@ -68,7 +68,7 @@ #define INQUIRY_RESP_INITIAL_LEN 36 -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) static int pr2ws(const char * fmt, ...) __attribute__ ((format (printf, 1, 2))); #else |