From 1ae664f6a0c5280e75ca8220410113a28883eb11 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 9 May 2019 16:49:19 -0700 Subject: [PATCH] construct: Tweak usererrstr formatting; minor cleanup. --- construct/construct.cc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/construct/construct.cc b/construct/construct.cc index 7c9d779ff..0b8962c32 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -16,11 +16,6 @@ #include "signals.h" #include "console.h" -static bool startup_checks(); -static void applyargs(); -static void enable_coredumps(); -static int print_version(); - bool printversion; bool cmdline; bool quietmode; @@ -75,12 +70,21 @@ const char *const fatalerrstr const char *const usererrstr {R"( *** -*** A fatal startup error has occurred. Please fix the problem to continue. *** +*** A fatal startup error has occurred: *** %s + +*** +*** Please fix the problem to continue. +*** )"}; +static bool startup_checks(); +static void applyargs(); +static void enable_coredumps(); +static int print_version(); + int main(int _argc, char *const *_argv, char *const *const _envp) noexcept try