summaryrefslogtreecommitdiffstats
path: root/mboxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mboxd.c')
-rw-r--r--mboxd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mboxd.c b/mboxd.c
index e1f3251..ffd8c84 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -312,14 +312,6 @@ int main(int argc, char **argv)
MSG_INFO("Starting Daemon\n");
-#ifdef VIRTUAL_PNOR_ENABLED
- vpnor_create_partition_table(context);
-
- strcpy(context->paths.ro_loc, PARTITION_FILES_RO_LOC);
- strcpy(context->paths.rw_loc, PARTITION_FILES_RW_LOC);
- strcpy(context->paths.prsv_loc, PARTITION_FILES_PRSV_LOC);
-#endif
-
rc = init_signals(context, &set);
if (rc) {
goto finish;
@@ -362,6 +354,14 @@ int main(int argc, char **argv)
goto finish;
}
+#ifdef VIRTUAL_PNOR_ENABLED
+ vpnor_create_partition_table(context);
+
+ strcpy(context->paths.ro_loc, PARTITION_FILES_RO_LOC);
+ strcpy(context->paths.rw_loc, PARTITION_FILES_RW_LOC);
+ strcpy(context->paths.prsv_loc, PARTITION_FILES_PRSV_LOC);
+#endif
+
MSG_INFO("Entering Polling Loop\n");
rc = poll_loop(context);
OpenPOWER on IntegriCloud