summaryrefslogtreecommitdiffstats
path: root/cmd/zinject/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zinject/translate.c')
-rw-r--r--cmd/zinject/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zinject/translate.c b/cmd/zinject/translate.c
index 5cc9d9fdc..adace72ff 100644
--- a/cmd/zinject/translate.c
+++ b/cmd/zinject/translate.c
@@ -120,7 +120,7 @@ parse_pathname(const char *inpath, char *dataset, char *relpath,
#else
if ((fp = fopen(MNTTAB, "r")) == NULL) {
#endif
- (void) fprintf(stderr, "cannot open /etc/mtab\n");
+ (void) fprintf(stderr, "cannot open %s\n", MNTTAB);
return (-1);
}