summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/JackPosixServerLaunch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/JackPosixServerLaunch.cpp b/posix/JackPosixServerLaunch.cpp
index 9129ec74..44ec4171 100644
--- a/posix/JackPosixServerLaunch.cpp
+++ b/posix/JackPosixServerLaunch.cpp
@@ -109,7 +109,7 @@ static void start_server_classic_aux(const char* server_name)
if (fp) {
arguments[0] = '\0';
res = fscanf(fp, "%s", buffer);
- while (ret != 0 && ret != EOF) {
+ while (res != 0 && res != EOF) {
strcat(arguments, buffer);
strcat(arguments, " ");
res = fscanf(fp, "%s", buffer);