aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff/n5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/troff/n5.c')
-rw-r--r--src/cmd/troff/n5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff/n5.c b/src/cmd/troff/n5.c
index ab5ef2e5..2c7d3287 100644
--- a/src/cmd/troff/n5.c
+++ b/src/cmd/troff/n5.c
@@ -409,7 +409,7 @@ void casefm(void)
return;
}
if (fcache[i].fp == NULL) {
- if( (fcache[i].fp = fopen(nextf, "w")) == NULL) {
+ if( (fcache[i].fp = fopen(unsharp(nextf), "w")) == NULL) {
ERROR "fm: cannot open %s", nextf WARN;
return;
}