aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-09-21 01:06:20 +0000
committerrsc <devnull@localhost>2004-09-21 01:06:20 +0000
commit3d5e34e146b5ba5c973230abb624ce9126024569 (patch)
tree0884be883c294d0b4beb437effb3b85347b01e9d /src/cmd/grap
parente5c26b01f70303f3322ac98d670ef886a62ac38a (diff)
downloadplan9port-3d5e34e146b5ba5c973230abb624ce9126024569.tar.gz
plan9port-3d5e34e146b5ba5c973230abb624ce9126024569.tar.bz2
plan9port-3d5e34e146b5ba5c973230abb624ce9126024569.zip
little fixes
Diffstat (limited to 'src/cmd/grap')
-rw-r--r--src/cmd/grap/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/grap/input.c b/src/cmd/grap/input.c
index 0c25bba1..35ea7f4b 100644
--- 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);