mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Style.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
6e76445cf7
commit
9b6224b70f
1 changed files with 2 additions and 2 deletions
|
|
@ -294,13 +294,13 @@ _sem_unlink(const char *name)
|
|||
return -1;
|
||||
}
|
||||
name++;
|
||||
|
||||
strcpy(path, SEM_PREFIX);
|
||||
if (strlcat(path, name, sizeof(path)) >= sizeof(path)) {
|
||||
errno = ENAMETOOLONG;
|
||||
return (-1);
|
||||
}
|
||||
return unlink(path);
|
||||
|
||||
return (unlink(path));
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue