[Darshan-commits] [Git][darshan/darshan][carns/issue-284-incomplete-warning] tweak warning output

Philip Carns xgitlab at cels.anl.gov
Mon Mar 15 15:19:45 CDT 2021



Philip Carns pushed to branch carns/issue-284-incomplete-warning at darshan / darshan


Commits:
70ddbeb9 by Phil Carns at 2021-03-15T16:19:19-04:00
tweak warning output

- darshan-job-summary is sensitive to warning format

- - - - -


1 changed file:

- darshan-util/darshan-parser.c


Changes:

=====================================
darshan-util/darshan-parser.c
=====================================
@@ -420,8 +420,8 @@ int main(int argc, char **argv)
             if(mask & OPTION_SHOW_INCOMPLETE)
             {
                 /* user requested that we show the data we have anyway */
-                printf("\n# *WARNING*:\n"
-                       "#            The %s module contains incomplete data!\n"
+                printf("\n# *WARNING*: "
+                       "The %s module contains incomplete data!\n"
                        "#            This happens when a module runs out of\n"
                        "#            memory to store new record data.\n",
                        darshan_module_names[i]);
@@ -434,8 +434,8 @@ int main(int argc, char **argv)
             else
             {
                 /* hard error */
-                fprintf(stderr, "\n# *ERROR*:\n"
-                       "#            The %s module contains incomplete data!\n"
+                fprintf(stderr, "\n# *ERROR*: "
+                       "The %s module contains incomplete data!\n"
                        "#            This happens when a module runs out of\n"
                        "#            memory to store new record data.\n",
                        darshan_module_names[i]);



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/70ddbeb91b7e2935d89089530953833f796fb2b0

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/70ddbeb91b7e2935d89089530953833f796fb2b0
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210315/e768f6e2/attachment.html>


More information about the Darshan-commits mailing list