shithub: rgbds

Download patch

ref: 1c8b31ca1d374e33d46dd56769f7f06877366385
parent: 2a3cd65ee879773d6753be5023b54302efa84762
author: bentley <[email protected]>
date: Thu Feb 4 18:16:38 EST 2010

fix compile error

stupid bug, printed % instead of %s

--- a/src/link/mapfile.c
+++ b/src/link/mapfile.c
@@ -32,7 +32,7 @@
 	sf = fopen(name, "w");
 
 	if (sf == NULL)
-		errx(EX_CANTCREAT, "Cannot open symfile '%' : %s", name,
+		errx(EX_CANTCREAT, "Cannot open symfile '%s' : %s", name,
 		    strerror(errno));
 
 	fprintf(sf, ";File generated by xLink v" LINK_VERSION "\n\n");