do the right fix for warnings

This commit is contained in:
Jeff Becker 2018-11-08 07:42:55 -05:00
parent 04a249a503
commit a73418abe3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ main(int argc, char *argv[])
{
int code = 1;
char cwd[1024];
(void)getcwd(cwd, sizeof(cwd));
llarp::LogInfo("Starting up server at ", cwd);
char *ptr = getcwd(cwd, sizeof(cwd));
llarp::LogInfo("Starting up server at ", ptr);
const char *conffname = handleBaseCmdLineArgs(argc, argv);
dns_relay_config dnsr_config;