Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
util-linux.3352
util-linux-lscpu-format-security.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-lscpu-format-security.patch of Package util-linux.3352
From f93993b746236f7bf792924c175f8894a447c6aa Mon Sep 17 00:00:00 2001 From: Karel Zak <kzak@redhat.com> Date: Fri, 6 Feb 2015 10:31:03 +0100 Subject: [PATCH] lscpu: fix compiler error [-Werror=format-security] Signed-off-by: Karel Zak <kzak@redhat.com> --- sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 7f2568d..2a616e2 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -598,7 +598,7 @@ static int is_compatible(const char *path, const char *str) { FILE *fd; - fd = path_fopen("r", 0, path); + fd = path_fopen("r", 0, "%s", path); if (fd) { char buf[256]; size_t i, len; -- 2.8.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor