diff --git a/src/gui/update.cpp b/src/gui/update.cpp index eae27a8fe..9647dfd84 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -649,7 +649,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) c[0] = fgetc(f); printf("[update] Current partition: %s\n", c); } - fcolse(f); + fclose(f); } // select partition