ncl/ncl-format.patch

94 lines
2.3 KiB
Diff
Raw Permalink Normal View History

diff --git a/ni/src/lib/nfp/ripW.c b/ni/src/lib/nfp/ripW.c
2020-06-05 03:28:38 +00:00
index a06b1b6..4b31c54 100644
--- a/ni/src/lib/nfp/ripW.c
+++ b/ni/src/lib/nfp/ripW.c
@@ -533,7 +533,7 @@ NhlErrorTypes rip_cape_3d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
@@ -1080,7 +1080,7 @@ NhlErrorTypes rip_cape_2d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
diff --git a/ni/src/lib/nfp/wrfW.c b/ni/src/lib/nfp/wrfW.c
2020-06-05 03:28:38 +00:00
index 6d0ffca..edd7211 100644
--- a/ni/src/lib/nfp/wrfW.c
+++ b/ni/src/lib/nfp/wrfW.c
@@ -1514,7 +1514,7 @@ NhlErrorTypes wrf_slp_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
/*
@@ -9221,7 +9221,7 @@ NhlErrorTypes wrf_ll_to_ij_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
@@ -9867,7 +9867,7 @@ NhlErrorTypes wrf_ij_to_ll_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
@@ -10529,7 +10529,7 @@ NhlErrorTypes wrf_cape_3d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
@@ -11232,7 +11232,7 @@ NhlErrorTypes wrf_cape_2d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
/*
@@ -13620,7 +13620,7 @@ NhlErrorTypes wrf_wetbulb_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}
diff --git a/ni/src/lib/nfp/wrf_vinterpW.c b/ni/src/lib/nfp/wrf_vinterpW.c
2020-06-05 03:28:38 +00:00
index d2d146f..7e1a4e2 100644
--- a/ni/src/lib/nfp/wrf_vinterpW.c
+++ b/ni/src/lib/nfp/wrf_vinterpW.c
@@ -819,7 +819,7 @@ NclBasicDataTypes type_ter;
&errstat, errmsg, ERRLEN);
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
2020-06-05 03:28:38 +00:00
+ fputs(errmsg, stderr);
exit(errstat);
}