summaryrefslogtreecommitdiff
path: root/popt.c
diff options
context:
space:
mode:
authorjbj <jbj>2008-12-19 20:43:38 +0000
committerjbj <jbj>2008-12-19 20:43:38 +0000
commit0905160cbdec9602335b4e485b9e6fa90c253bed (patch)
tree5b9d63a496ead84dafbad9850a9f47d283d211b0 /popt.c
parent088df65acb96ae079f5e74fcab6a453294fb2cd1 (diff)
downloadlibpopt-0905160cbdec9602335b4e485b9e6fa90c253bed.tar.gz
- add poptInit/poptFini/poptReadConfigFiles/poptSaneFile routines.
Diffstat (limited to 'popt.c')
-rw-r--r--popt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/popt.c b/popt.c
index 06e3070..24b5132 100644
--- a/popt.c
+++ b/popt.c
@@ -1398,6 +1398,8 @@ const char * poptStrerror(const int error)
return POPT_("number too large or too small");
case POPT_ERROR_MALLOC:
return POPT_("memory allocation failed");
+ case POPT_ERROR_BADCONFIG:
+ return POPT_("config file failed sanity test");
case POPT_ERROR_ERRNO:
return strerror(errno);
default: