From b343db39489770864a918fb6533535249044e2d8 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 3 Jul 2016 20:20:36 +0000 Subject: [PATCH] Fix incorrect variable name in posix.c log statement (#3980) --- contributors.md | 1 + src/platform/posix.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contributors.md b/contributors.md index 5de34b95cb..622d021844 100644 --- a/contributors.md +++ b/contributors.md @@ -65,6 +65,7 @@ Includes all git commit authors. Aliases are GitHub user names. * Josué Acevedo (Wirlie) * Martin Černáč (octaroot) * (marcovmun) +* Sven Slootweg (joepie91) ## Toolchain * (Balletie) - OSX diff --git a/src/platform/posix.c b/src/platform/posix.c index f6a54f1781..4901ac2c3e 100644 --- a/src/platform/posix.c +++ b/src/platform/posix.c @@ -724,7 +724,7 @@ void platform_resolve_openrct_data_path() if (gCustomOpenrctDataPath[0] != 0) { if (realpath(gCustomOpenrctDataPath, _openrctDataDirectoryPath)) { - log_error("Could not resolve path \"%s\"", gCustomUserDataPath); + log_error("Could not resolve path \"%s\"", gCustomOpenrctDataPath); return; }