int pidfile_acquire(char *param_1)
{
int __fd;
if (param_1 != (char *)0x0) {
__fd = open(param_1,0x101,0x1a4) //possible issue identified - semgrep
if (-1 < __fd) {
lockf(__fd,1,0);
}
return __fd;
}
return -1;
}
int pidfile_acquire(char *param_1)
{
int __fd;
if (param_1 != (char *)0x0) {
__fd = open(param_1,0x101,0x1a4) //possible issue identified - semgrep
if (-1 < __fd) {
lockf(__fd,1,0);
}
return __fd;
}
return -1;
}