aboutsummaryrefslogtreecommitdiff
path: root/ld/mkscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/mkscript.c')
-rw-r--r--ld/mkscript.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/mkscript.c b/ld/mkscript.c
index e0f66ee..66ddfc2 100644
--- a/ld/mkscript.c
+++ b/ld/mkscript.c
@@ -23,9 +23,10 @@ int
main()
{
int ch;
+
ch = getchar();
printf("/* Generated through mkscript */\n");
- printf("\"{ \\\n");
+ printf("\"{");
while (ch != EOF) {
if (ch == '\"' || ch == '\\' || ch == '\'') {
putchar('\\');