Signed-off-by: Marek Lindner <[email protected]> --- translation-table.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/translation-table.c b/translation-table.c
index f8f207a..88c62f1 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
}
spin_unlock_bh(&bat_priv->tt_buff_lock);
- return tot_changes;
+ return count;
}
int tt_local_seq_print_text(struct seq_file *seq, void *offset)
--
1.7.9.1
