aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap/print.c
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-05-17 02:22:23 +0000
committerwkj <devnull@localhost>2004-05-17 02:22:23 +0000
commit1e1cea296a776857a4c4a0180d3fa35a11e8c78e (patch)
tree8e66cce26ee7557707a570e93e09ccd269d9a923 /src/cmd/grap/print.c
parent75347226678394e8316d3e38ea64f44524e4f089 (diff)
downloadplan9port-1e1cea296a776857a4c4a0180d3fa35a11e8c78e.tar.gz
plan9port-1e1cea296a776857a4c4a0180d3fa35a11e8c78e.tar.bz2
plan9port-1e1cea296a776857a4c4a0180d3fa35a11e8c78e.zip
Tweak grap to make it compile silently.
Diffstat (limited to 'src/cmd/grap/print.c')
-rw-r--r--src/cmd/grap/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/grap/print.c b/src/cmd/grap/print.c
index 9364d110..1636ec21 100644
--- a/src/cmd/grap/print.c
+++ b/src/cmd/grap/print.c
@@ -184,7 +184,7 @@ void do_first(void) /* done at first .G1: definitions, etc. */
sprintf(buf, "define pid /%d/\n", getpid());
pbstr(buf);
if (lib != 0) {
- if ((fp = fopen(lib_defines, "r")) != NULL) {
+ if ((fp = fopen(unsharp(lib_defines), "r")) != NULL) {
sprintf(buf1, "copy \"%s\"\n", lib_defines);
pbstr(buf1);
fclose(fp);