tlittle fixes - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3d5e34e146b5ba5c973230abb624ce9126024569
(DIR) parent e5c26b01f70303f3322ac98d670ef886a62ac38a
(HTM) Author: rsc <devnull@localhost>
Date: Tue, 21 Sep 2004 01:06:20 +0000
little fixes
Diffstat:
M src/cmd/grap/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/grap/input.c b/src/cmd/grap/input.c
t@@ -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);