From 109af5c530539fd614d7d61dc33a4811ff631932 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 13 Apr 2013 19:03:54 +0200 Subject: [PATCH] Fix a bug introduced with the move of read_tempfile() to util.cpp. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e48bdf1..67c731d 100644 --- a/main.cpp +++ b/main.cpp @@ -272,7 +272,7 @@ start: if (state_fd != -1) { fprintf(stderr, "Deserializing state from previous process... "); string serialized; - if (!read_tempfile(atoi(argv[3]), &serialized)) { + if (!read_tempfile(state_fd, &serialized)) { exit(1); } if (!loaded_state.ParseFromString(serialized)) { -- 2.39.2