Commit 90aaa8d9 authored by Pietro Battiston's avatar Pietro Battiston

Patch: fix typos in gbfun and gbget output

parent aa4200fe
From: Pietro Battiston <me@pietrobattiston.it>
Date: Wed, 15 Jul 2015 12:55:58 +0200
Subject: Fixed two typos
---
gbfun.c | 2 +-
gbget.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gbfun.c b/gbfun.c
index ec73f7e..84aa072 100644
--- a/gbfun.c
+++ b/gbfun.c
@@ -263,7 +263,7 @@ int main(int argc,char* argv[]){
/* check lag */
if((F[Fnum-1].lags)[j]>rows){
- fprintf(stderr,"ERROR (%s): lag %zd is longer then the data lenght\n",
+ fprintf(stderr,"ERROR (%s): lag %zd is longer then the data length\n",
GB_PROGNAME,(F[Fnum-1].lags)[j]);
exit(-1);
}
diff --git a/gbget.c b/gbget.c
index cdc36b4..5dd8c74 100644
--- a/gbget.c
+++ b/gbget.c
@@ -539,7 +539,7 @@ void data_applyfuns(double *** myvals,size_t *myrows,size_t *mycolumns,const cha
/* check lag */
if((F[Fnum-1].lags)[j]> rows){
- fprintf(stderr,"ERROR (%s): lag %zd is longer then the data lenght\n",
+ fprintf(stderr,"ERROR (%s): lag %zd is longer then the data length\n",
GB_PROGNAME,(F[Fnum-1].lags)[j]);
exit(-1);
}
@@ -707,7 +707,7 @@ void data_applyfuns_recursive(double *** myvals,size_t *myrows,size_t *mycolumns
/* check lag */
if((F[Fnum-1].lags)[j]> rows){
- fprintf(stderr,"ERROR (%s): lag %zd is longer then the data lenght\n",
+ fprintf(stderr,"ERROR (%s): lag %zd is longer then the data length\n",
GB_PROGNAME,(F[Fnum-1].lags)[j]);
exit(-1);
}
@@ -886,7 +886,7 @@ void data_applyselection(double *** myvals,size_t *myrows,size_t *mycolumns,cons
/* check lag */
if((F[Fnum-1].lags)[j]> rows){
- fprintf(stderr,"ERROR (%s): lag %zd is longer then the data lenght\n",
+ fprintf(stderr,"ERROR (%s): lag %zd is longer then the data length\n",
GB_PROGNAME,(F[Fnum-1].lags)[j]);
exit(-1);
}
0001-Fixed-two-typos.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment