diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index a0df056878..e5f2a36c76 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -111,7 +111,7 @@ bool np_handler::discover_ip_address() return false; } - nph_log.notice("Hostname was determined to be %s", hostname); + nph_log.notice("Hostname was determined to be %s", hostname.c_str()); hostent *host = gethostbyname(hostname.data()); if (!host)