mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Wrap a line longer than 80 characters.
This commit is contained in:
parent
095dcf9966
commit
0f3b0aa87c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100370
@ -84,8 +84,8 @@ eventhandler_register(struct eventhandler_list *list, char *name,
|
||||
|
||||
/* Do we need to create the list? */
|
||||
if (list == NULL) {
|
||||
if ((list = malloc(sizeof(struct eventhandler_list) + strlen(name) + 1,
|
||||
M_EVENTHANDLER, M_NOWAIT)) == NULL) {
|
||||
if ((list = malloc(sizeof(struct eventhandler_list) + strlen(name)
|
||||
+ 1, M_EVENTHANDLER, M_NOWAIT)) == NULL) {
|
||||
mtx_unlock(&eventhandler_mutex);
|
||||
return(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user