X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Falign.h;h=ebf03e8dbb0c61a7f724f115e5144b3a7243fb58;hb=82df14e46c733a9e0906cf7a11299d83d160e1a0;hp=4b3c1709945735c52497a09d7effa0b382af878b;hpb=6423c3134bf07d4a7db56f69f2c79b540a79c4f1;p=lttng-ust.git diff --git a/include/lttng/align.h b/include/lttng/align.h index 4b3c1709..ebf03e8d 100644 --- a/include/lttng/align.h +++ b/include/lttng/align.h @@ -15,6 +15,14 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ #include @@ -58,7 +66,7 @@ ({ \ LTTNG_BUILD_RUNTIME_BUG_ON((alignment) == 0 \ || ((alignment) & ((alignment) - 1))); \ - (((align_drift) - (alignment)) & ((alignment) - 1); \ + (((align_drift) - (alignment)) & ((alignment) - 1)); \ }) #endif /* _UST_ALIGN_H */