aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap/print.c
diff options
context:
space:
mode:
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);