diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 6549f977..de5d99b8 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -849,7 +849,7 @@ static bool TrySuCommandFlag(const char* flag) { close( write_end ); // We redirect stderr to /dev/null because by nature this function // tries incorrect command lines. - int null_fd = open("/dev/null", O_WRONLY); + int null_fd = open( "/dev/null", O_WRONLY ); dup2( null_fd, STDERR_FILENO ); execlp( "su", "su", flag, "id", "-u", nullptr ); exit( EXIT_FAILURE );