authorNathael Pajani <nathael.pajani@ed3l.fr>
Wed, 28 Aug 2013 11:41:55 +0000 (13:41 +0200)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Wed, 28 Aug 2013 11:41:55 +0000 (13:41 +0200)
lpcprog.c

index d75135e..0df55ae 100644 (file)
--- a/lpcprog.c
+++ b/lpcprog.c
@@ -176,10 +176,10 @@ int main(int argc, char** argv)
        if (parts_file_name == NULL) {
                FILE* parts_file = NULL;
 
-               parts_file_name = DEFAULT_PART_FILE_NAME_ETC;
+               parts_file_name = DEFAULT_PART_FILE_NAME_CURRENT;
                parts_file = fopen(parts_file_name, "r");
                if (parts_file == NULL) {
-                       parts_file_name = DEFAULT_PART_FILE_NAME_CURRENT;
+                       parts_file_name = DEFAULT_PART_FILE_NAME_ETC;
                        parts_file = fopen(parts_file_name, "r");
                }
                if (parts_file == NULL) {