From abfefaa786117904708565b2146e58229c3743ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 14 Mar 1995 21:12:26 +0000 Subject: [PATCH] Fix "-ssync=xx" option. --- usr.sbin/ncrcontrol/ncrcontrol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ncrcontrol/ncrcontrol.c b/usr.sbin/ncrcontrol/ncrcontrol.c index 98308b12d191..9aad16f66d61 100644 --- a/usr.sbin/ncrcontrol/ncrcontrol.c +++ b/usr.sbin/ncrcontrol/ncrcontrol.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: ncrcontrol.c,v 1.4 1994/10/26 19:23:02 se Exp $ +** $Id: ncrcontrol.c,v 1.5 1995/02/03 20:49:10 bde Exp $ ** ** Utility for NCR 53C810 device driver. ** @@ -52,6 +52,7 @@ #endif #include #include +#include #include #include #include @@ -730,7 +731,7 @@ void do_set (char * arg) }; if (!strncmp(arg, "sync=", 5)) { - float f = strtod (arg+5, NULL); + double f = strtod (arg+5, NULL); if (f>=4.0 && f<=10.0) { user.data = 250.0 / f; user.cmd = UC_SETSYNC;