From: compudj Date: Fri, 6 Jan 2006 16:05:50 +0000 (+0000) Subject: non-alignment fix X-Git-Tag: v0.12.20~2037 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f72cdf57a6986f96410d775471cb6e45f2083752;p=lttv.git non-alignment fix git-svn-id: http://ltt.polymtl.ca/svn@1452 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/ltt-private.h b/ltt/branches/poly/ltt/ltt-private.h index 89c5e6ce..d97ff5fc 100644 --- a/ltt/branches/poly/ltt/ltt-private.h +++ b/ltt/branches/poly/ltt/ltt-private.h @@ -457,7 +457,7 @@ static inline unsigned int ltt_align(size_t align_drift, { size_t alignment = min(has_alignment, size_of_type); - if(!has_alignement) return 0; + if(!has_alignment) return 0; return ((alignment - align_drift) & (alignment-1)); }