X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=libfio.c;h=d9900add8549e03e12dcafe6cfc7f5bbc52fd15c;hp=14ddc4d03302758d95d08a45a2eb4d740798441b;hb=40e5f1bf1aca5970528724873a4544c43712a75d;hpb=84e893fd54a0895b9eadd8b4c62243faf19c9305 diff --git a/libfio.c b/libfio.c index 14ddc4d0..d9900add 100644 --- a/libfio.c +++ b/libfio.c @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ @@ -365,6 +365,8 @@ int initialize_fio(char *envp[]) compiletime_assert((offsetof(struct thread_options_pack, latency_percentile) % 8) == 0, "latency_percentile"); compiletime_assert((offsetof(struct jobs_eta, m_rate) % 8) == 0, "m_rate"); + compiletime_assert(__TD_F_LAST <= TD_ENG_FLAG_SHIFT, "TD_ENG_FLAG_SHIFT"); + err = endian_check(); if (err) { log_err("fio: endianness settings appear wrong.\n");