From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 170993858D28; Mon, 19 Jun 2023 00:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 170993858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1687132888; bh=HiykutzZTFUhVfTU3xkH33Z2YQbkPVJawrsG2Br/DV0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Dp+q/kPJjNSAShtb4nN0SVeiAH15ygRgpFoe9rY4XCoXZfp+/Ovz3CEK2G7Xfc6Ih sIqR2rYT1ZiGAkoPj1Sa/TM8vARqQJGwtLbEYD01tMaJAaY0WZizlhj+r2izELQ2WT xIR+LeS9PvHJU+tO2dxidMnD/+CoaDa7Fdv8ADOk= From: "echron at yahoo dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/30563] misc/sys syslog.h macro LOG_MAKEPRI produces incorrect output for linux dmesg -r command Date: Mon, 19 Jun 2023 00:01:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: echron at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30563 --- Comment #1 from Edward Chron --- Typo error in description, the corrected LOG_MAKEPRI should be: #define LOG_MAKEPRI(fac, pri) ((fac << 3) | (pri))=20 not: #define LOG_MAKEPRI(fac, pri) ((fac) << 3 | (pri)) The patch being submitted has the correct comment and the macro is correct. --=20 You are receiving this mail because: You are on the CC list for the bug.=