summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-09-18 18:45:38 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-09-18 18:45:38 -0400
commit8058a85776b65f7e793ef46a30cc4d733dd2bde6 (patch)
tree7159b5924fa488102ed496396a30beb7acc1a241 /gpspipe.c
parent2bb88c9a08a12cbc5705b71e8114d57886722283 (diff)
downloadgpsd-8058a85776b65f7e793ef46a30cc4d733dd2bde6.tar.gz
Fix a misleading error message.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpspipe.c b/gpspipe.c
index 67103910..c5b59427 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -215,7 +215,7 @@ int main(int argc, char **argv)
}
if (outfile == NULL && daemonize) {
- (void)fprintf(stderr, "gpspipe: use of '-d' requires '-f'.\n");
+ (void)fprintf(stderr, "gpspipe: use of '-d' requires '-o'.\n");
exit(EXIT_FAILURE);
}