diff options
Diffstat (limited to 'Userland/Libraries/LibC/netdb.cpp')
-rw-r--r-- | Userland/Libraries/LibC/netdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibC/netdb.cpp b/Userland/Libraries/LibC/netdb.cpp index 77d0b790dd..33d17b5a21 100644 --- a/Userland/Libraries/LibC/netdb.cpp +++ b/Userland/Libraries/LibC/netdb.cpp @@ -36,7 +36,7 @@ static constexpr i32 lookup_server_endpoint_magic = 9001; // Get service entry buffers and file information for the getservent() family of functions. static FILE* services_file = nullptr; -static const char* services_path = "/etc/services"; +static constexpr char services_path[] = "/etc/services"; static bool fill_getserv_buffers(const char* line, ssize_t read); static servent __getserv_buffer; @@ -50,7 +50,7 @@ static ssize_t service_file_offset = 0; // Get protocol entry buffers and file information for the getprotent() family of functions. static FILE* protocols_file = nullptr; -static const char* protocols_path = "/etc/protocols"; +static constexpr char protocols_path[] = "/etc/protocols"; static bool fill_getproto_buffers(const char* line, ssize_t read); static protoent __getproto_buffer; |