commit 3d5e34e146b5ba5c973230abb624ce9126024569
parent e5c26b01f70303f3322ac98d670ef886a62ac38a
Author: rsc <devnull@localhost>
Date: Tue, 21 Sep 2004 01:06:20 +0000
little fixes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/grap/input.c b/src/cmd/grap/input.c
@@ -23,7 +23,7 @@ void pushsrc(int type, char *ptr) /* new input source */
printf("\n%3d ", srcp - src);
switch (srcp->type) {
case File:
- printf("push file %s\n", ((Infile *)ptr)->fname);
+ printf("push file %s\n", ptr);
break;
case Macro:
printf("push macro <%s>\n", ptr);