Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php70-libc-client
0003-I-had-to-repair-this-code-because-I-could-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-I-had-to-repair-this-code-because-I-could-not-turn-l.patch of Package scl-php70-libc-client
From f6bfff94cdab903e402a48c5f07636f414679474 Mon Sep 17 00:00:00 2001 From: Julian Brown <julian.brown@cpanel.net> Date: Fri, 29 May 2020 15:08:42 -0500 Subject: [PATCH 3/3] I had to repair this code, because I could not turn lint off. --- src/osdep/unix/flocklnx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/unix/flocklnx.c b/src/osdep/unix/flocklnx.c index ca0112a..06940b8 100644 --- a/src/osdep/unix/flocklnx.c +++ b/src/osdep/unix/flocklnx.c @@ -57,7 +57,7 @@ int safe_flock (int fd,int op) case ENOLCK: /* lock table is full */ sprintf (tmp,"File locking failure: %s",strerror (errno)); mm_log (tmp,WARN); /* give the user a warning of what happened */ - if (!logged++) syslog (LOG_ERR,tmp); + if (!logged++) syslog (LOG_ERR,"%s",tmp); /* return failure if non-blocking lock */ if (op & LOCK_NB) return -1; sleep (5); /* slow down in case it loops */ -- 2.25.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