From f14c4b8fc0b4289a5dac81062cb1f281535de1e1 Mon Sep 17 00:00:00 2001 From: Mark Heily Date: Thu, 24 Jul 2014 21:45:40 -0400 Subject: [PATCH] Fix a build failure on mips64el --- ChangeLog | 6 ++++++ src/common/knote.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9595bcb..b87771e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +UNRELEASED HEAD +------------------------------------------------------------------------ + + * Fix a build failure on mips64el. + (Credit: YunQiang Su, from Debian Bug #754376) + 2014-03-09 v2.0.3 ------------------------------------------------------------------------ diff --git a/src/common/knote.c b/src/common/knote.c index 4dd2550..3142f95 100644 --- a/src/common/knote.c +++ b/src/common/knote.c @@ -120,7 +120,7 @@ knote_lookup(struct filter *filt, uintptr_t ident) ent = RB_FIND(knt, &filt->kf_knote, &query); pthread_rwlock_unlock(&filt->kf_knote_mtx); -#ifdef __x86_64__ +#if defined(__x86_64__) || defined(__mips64) dbg_printf("id=%lu ent=%p", ident, ent); #else dbg_printf("id=%u ent=%p", ident, ent);