ref: 8837ac26d00f5a433ec9fd8bc08446b6df4c5bd5
parent: 01aed76c6815842631c87f43ec77b9870c4a1884
author: JDG <[email protected]>
date: Mon Apr 15 06:10:38 EDT 2019
* src/tools/apinames.c (main): Fix error message. Reported as https://savannah.nongnu.org/patch/?9796
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-04-15 JDG <[email protected]>
+
+ * src/tools/apinames.c (main): Fix error message.
+
+ Reported as
+
+ https://savannah.nongnu.org/patch/?9796
+
2019-04-11 Alexei Podtelezhnikov <[email protected]>
[smooth] Fix segfault in direct mode (#56092).
--- a/src/tools/apinames.c
+++ b/src/tools/apinames.c
@@ -384,7 +384,7 @@
out = fopen( arg, "wt" );
if ( !out )
{
- fprintf( stderr, "could not open '%s' for writing\n", argv[2] );
+ fprintf( stderr, "could not open '%s' for writing\n", arg );
exit(3);
}
break;