mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
Whoops
This commit is contained in:
parent
abfb9ec0b5
commit
6e8fb49d05
@ -173,7 +173,7 @@ static void x11_set_window_pid(Display *dpy, Window win)
|
||||
if((hostname = malloc(scret + 1)) == NULL)
|
||||
return;
|
||||
|
||||
if(gethostname(hostname, HOST_NAME_MAX + 1) == -1)
|
||||
if(gethostname(hostname, scret + 1) == -1)
|
||||
RARCH_WARN("Failed to get hostname.\n");
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user