1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

daemonize: fix missing lws_malloc reason param

This commit is contained in:
Andy Green 2017-10-18 19:57:56 +08:00
parent fcf5b2c25a
commit df0f8341dd

View file

@ -126,7 +126,7 @@ lws_daemonize(const char *_lock_path)
} }
n = strlen(_lock_path) + 1; n = strlen(_lock_path) + 1;
lock_path = lws_malloc(n); lock_path = lws_malloc(n, "daemonize lock");
if (!lock_path) { if (!lock_path) {
fprintf(stderr, "Out of mem in lws_daemonize\n"); fprintf(stderr, "Out of mem in lws_daemonize\n");
return 1; return 1;