[ntpsec commit] fputs takes two arguments.
Eric S. Raymond
esr at ntpsec.org
Wed Oct 21 08:48:40 UTC 2015
Module: ntpsec
Branch: master
Commit: c30a0a106cd9b529cc295f2bdcf200af36feffae
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=c30a0a106cd9b529cc295f2bdcf200af36feffae
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Wed Oct 21 04:26:03 2015 -0400
fputs takes two arguments.
---
ntpfrob/pps-api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntpfrob/pps-api.c b/ntpfrob/pps-api.c
index 838c01f..311b5a1 100644
--- a/ntpfrob/pps-api.c
+++ b/ntpfrob/pps-api.c
@@ -58,7 +58,7 @@ static int err(int out, const char *legend)
void ppscheck(char *device)
{
#ifndef HAVE_SYS_TIMEPPS_H
- fputs("ntpfrob: PPS is not available.\n");
+ fputs("ntpfrob: PPS is not available.\n", stderr);
exit(1);
#else
int fd;
More information about the vc
mailing list