Group :: Development/Kernel
RPM: glibc-kernheaders
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0002-uapi-fix-linux-sysctl.h-Obsolete-types-detected-warn.patch
Download
Download
From f866713040491a01d486da14145cc0f34dfdd7a8 Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Thu, 14 Mar 2019 13:03:56 +0000
Subject: [PATCH 2/6] uapi: fix linux/sysctl.h "Obsolete types detected"
warning
glibc misc/check-installed-headers-c test before commit glibc-2.30~290
was confused by "ulong" in comments, so replace ulong with unsigned long.
---
include/uapi/linux/sysctl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
index 95e691d9c462..a4c1e2868917 100644
--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
@@ -157,7 +157,7 @@ enum
KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
KERN_PANIC_ON_WARN=77, /* int: call panic() in WARN() functions */
- KERN_PANIC_PRINT=78, /* ulong: bitmask to print system info on panic */
+ KERN_PANIC_PRINT=78, /* unsigned long: bitmask to print system info on panic */
};