Merge branch 'dev' of https://github.com/smartxworks/fio
[fio.git] / verify-state.h
index 1586f63fb0f0a61f7eea2a6db90876b24f895960..6da1585b24657a60d7357d4f04f6f445f01544f3 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <limits.h>
+#include "lib/nowarn_snprintf.h"
 
 struct thread_rand32_state {
        uint32_t s[4];
@@ -101,7 +102,7 @@ static inline void verify_state_gen_name(char *out, size_t size,
                name++;
        } while (1);
 
-       snprintf(out, size, "%s-%s-%d-verify.state", prefix, ename, num);
+       nowarn_snprintf(out, size, "%s-%s-%d-verify.state", prefix, ename, num);
        out[size - 1] = '\0';
 }