ncl/ncl-format.patch
Orion Poplawski 7539976f3b Update to 6.6.2
Build with openblas (bugz#1619049)
2019-08-19 21:59:46 -06:00

94 lines
2.3 KiB
Diff

diff --git a/ni/src/lib/nfp/ripW.c b/ni/src/lib/nfp/ripW.c
index a06b1b6..7df335b 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);
+ fputs(stderr, errmsg);
exit(errstat);
}
@@ -1080,7 +1080,7 @@ NhlErrorTypes rip_cape_2d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
+ fputs(stderr, errmsg);
exit(errstat);
}
diff --git a/ni/src/lib/nfp/wrfW.c b/ni/src/lib/nfp/wrfW.c
index 6d0ffca..1f34366 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);
+ fputs(stderr, errmsg);
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);
+ fputs(stderr, errmsg);
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);
+ fputs(stderr, errmsg);
exit(errstat);
}
@@ -10529,7 +10529,7 @@ NhlErrorTypes wrf_cape_3d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
+ fputs(stderr, errmsg);
exit(errstat);
}
@@ -11232,7 +11232,7 @@ NhlErrorTypes wrf_cape_2d_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
+ fputs(stderr, errmsg);
exit(errstat);
}
/*
@@ -13620,7 +13620,7 @@ NhlErrorTypes wrf_wetbulb_W( void )
/* Terminate if there was an error */
if (errstat != 0) {
- fprintf(stderr, errmsg);
+ fputs(stderr, errmsg);
exit(errstat);
}
diff --git a/ni/src/lib/nfp/wrf_vinterpW.c b/ni/src/lib/nfp/wrf_vinterpW.c
index d2d146f..1a2d463 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);
+ fputs(stderr, errmsg);
exit(errstat);
}