summaryrefslogtreecommitdiff
path: root/lang/elk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-10-22 20:42:48 +0000
committeragc <agc@pkgsrc.org>2000-10-22 20:42:48 +0000
commitac3ad3646d7dd3a32928d75b330cddee616f3968 (patch)
tree38f0e136a066d51532a3103c9a3ef93b0f918c35 /lang/elk
parent919fe35602b33c3c139d126b711a3c46f82a5e4c (diff)
downloadpkgsrc-ac3ad3646d7dd3a32928d75b330cddee616f3968.tar.gz
Correct typos which resulted in a malformed command
Diffstat (limited to 'lang/elk')
-rw-r--r--lang/elk/files/stab-elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/elk/files/stab-elf.c b/lang/elk/files/stab-elf.c
index 433f2bc435a..4f1b8cd6dd2 100644
--- a/lang/elk/files/stab-elf.c
+++ b/lang/elk/files/stab-elf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: stab-elf.c,v 1.2 2000/10/06 11:08:31 agc Exp $ */
+/* $NetBSD: stab-elf.c,v 1.3 2000/10/22 20:42:48 agc Exp $ */
/*
* Copyright (c) 2000 Alistair G. Crooks. All rights reserved.
@@ -36,7 +36,7 @@
__COPYRIGHT(
"@(#) Copyright (c) 2000 \
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: stab-elf.c,v 1.2 2000/10/06 11:08:31 agc Exp $");
+__RCSID("$NetBSD: stab-elf.c,v 1.3 2000/10/22 20:42:48 agc Exp $");
#endif
#include <sys/types.h>
@@ -74,7 +74,7 @@ Open_File_And_Snarf_Symbols (name)
SYM **nextp;
SYM *sp;
- (void) snprintf(cmd, sizeof(cmd), "%s -g %s | %s '$2 == \"T\" { printf(\"%s %s\n\", $1 $3) }'", NM, name, AWK);
+ (void) snprintf(cmd, sizeof(cmd), "%s -g %s | %s '$2 == \"T\" { printf(\"%%s %%s\\n\", $1 $3) }'", NM, name, AWK);
if ((pp = popen(cmd, "r")) == NULL) {
Primitive_Error("can't open a.out file");
}