summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dvipdfmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.c')
-rw-r--r--Build/source/texk/dvipdfm-x/dvipdfmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c
index e1f890c9661..665339d0221 100644
--- a/Build/source/texk/dvipdfm-x/dvipdfmx.c
+++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c
@@ -461,9 +461,7 @@ do_args (int argc, char *argv[], const char *source)
break;
case 133: /* --kpathsea-debug */
- kpathsea_debug = (unsigned) strtoul(optarg, &nextptr, 0);
- if (nextptr == optarg)
- ERROR("Invalid kpathsearch debugging flags specified: %s", optarg);
+ kpathsea_debug = atoi(optarg);
break;
case 'D':