[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master ab90b2e 1/3: Fix typos in src/mkcatalog/ui.c
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master ab90b2e 1/3: Fix typos in src/mkcatalog/ui.c |
Date: |
Sat, 13 Aug 2016 09:37:54 +0000 (UTC) |
branch: master
commit ab90b2ea1906c257c2e998a78f9a7e4f04c3c684
Author: Vladimir Markelov <address@hidden>
Commit: Vladimir Markelov <address@hidden>
Fix typos in src/mkcatalog/ui.c
1. Incorrect function name in error message
2. Typo in one word in error message
This fixed bug 48770
---
src/mkcatalog/ui.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mkcatalog/ui.c b/src/mkcatalog/ui.c
index d01e402..f982081 100644
--- a/src/mkcatalog/ui.c
+++ b/src/mkcatalog/ui.c
@@ -754,7 +754,7 @@ printvalues(FILE *fp, struct mkcatalogparams *p)
default:
error(EXIT_FAILURE, 0, "a bug! Please contact us at %s so we can "
"fix the problem. For some reason p->allcols[%d] is given "
- "the value %lu which is not recognized in preparearrays "
+ "the value %lu which is not recognized in printvalues "
"(ui.c)", PACKAGE_BUGREPORT, i, p->allcols[i]);
}
@@ -1279,7 +1279,7 @@ setparams(int argc, char *argv[], struct mkcatalogparams
*p)
/* Read the arguments. */
errno=0;
if(argp_parse(&thisargp, argc, argv, 0, 0, p))
- error(EXIT_FAILURE, errno, "aarsing arguments");
+ error(EXIT_FAILURE, errno, "parsing arguments");
/* Add the user default values and save them if asked. */