From: Frederick Bruckman Date: Mon, 7 Jul 2003 02:31:24 +0000 (-0500) Subject: Correct usage, spelling of "lose", "loses", and "losing" where appropriate. X-Git-Tag: NTP_4_1_2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f00d8fb9ccd5d01c77a71d9f1fe42ae8fbcea8d8;p=thirdparty%2Fntp.git Correct usage, spelling of "lose", "loses", and "losing" where appropriate. bk: 3f08db7cJdxEAtifuOFm2MafcqvQbg --- diff --git a/ChangeLog-4.1.0 b/ChangeLog-4.1.0 index 69b566ee01..b748b8057d 100644 --- a/ChangeLog-4.1.0 +++ b/ChangeLog-4.1.0 @@ -4364,7 +4364,7 @@ Tue May 25 18:00:49 1999 Rainer Orth since it may be malloc'ed. * ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't - loose const in cast. + lose const in cast. * ntpq/ntpq.c (sendrequest): Likewise. * ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast. diff --git a/html/parsenew.htm b/html/parsenew.htm index 0ef60bc060..da797c5fd2 100644 --- a/html/parsenew.htm +++ b/html/parsenew.htm @@ -196,9 +196,9 @@ termio*.h c_cflag macros. u_char cl_type; /* clock type (ntp control) */ Type if clock as in clock status word (ntp control messages) - usually 0 - u_long cl_maxunsync; /* time to trust oscillator after loosing synch + u_long cl_maxunsync; /* time to trust oscillator after losing synch */ - seconds a clock can be trusted after loosing synchronisation. + seconds a clock can be trusted after losing synchronisation. u_long cl_speed; /* terminal input & output baudrate */ u_long cl_cflag; /* terminal io flags */ diff --git a/libntp/authkeys.c b/libntp/authkeys.c index f35d91c621..5a8dfd00f6 100644 --- a/libntp/authkeys.c +++ b/libntp/authkeys.c @@ -438,7 +438,7 @@ auth_delkeys(void) */ while (sk != 0 && sk->keyid <= NTP_MAXKEY) { /* - * Don't loose info which keys are trusted. + * Don't lose info as to which keys are trusted. */ if (sk->flags & KEY_TRUSTED) { memset(&sk->k, 0, sizeof(sk->k)); diff --git a/ntpd/ntp_filegen.c b/ntpd/ntp_filegen.c index bcf3f9c19c..28a2f634b6 100644 --- a/ntpd/ntp_filegen.c +++ b/ntpd/ntp_filegen.c @@ -214,7 +214,7 @@ filegen_open( * * If the file was open before keep the previous generation. * This will cause output to end up in the 'wrong' file, - * but I think this is still better than loosing output + * but I think this is still better than losing output * * ignore errors due to missing directories */ diff --git a/ntpd/refclock_msfees.c b/ntpd/refclock_msfees.c index b1aaa5658f..9c28331b8e 100644 --- a/ntpd/refclock_msfees.c +++ b/ntpd/refclock_msfees.c @@ -99,7 +99,7 @@ * On the next minute it steps forward again :-( * This is typically 16.5uS/S then 3975uS at the 4min re-sync, * or 9.5uS/S then 3990.5uS at a 7min re-sync, - * at which point it may loose the "00" second time stamp. + * at which point it may lose the "00" second time stamp. * I assume that the most accurate time is just AFTER the re-sync. * Hence remember the last cycle interval, * diff --git a/ntpd/refclock_oncore.c b/ntpd/refclock_oncore.c index 625ef89787..14db92f27d 100644 --- a/ntpd/refclock_oncore.c +++ b/ntpd/refclock_oncore.c @@ -877,7 +877,7 @@ oncore_init_shmem( /* * The first thing we do is see if there is an instance->shmem_fname file (still) * out there from a previous run. If so, we copy it in and use it to initialize - * shmem (so we won't loose our almanac if we need it). + * shmem (so we won't lose our almanac if we need it). */ shmem_old = 0; @@ -2705,8 +2705,8 @@ oncore_msg_Cj_init( int mode; - /* The M12 with 1.3 or 2.0 Firmware, looses track of all Satellites and has to - * start again if we go from 0D -> 3D, then looses them again when we + /* The M12 with 1.3 or 2.0 Firmware, loses track of all Satellites and has to + * start again if we go from 0D -> 3D, then loses them again when we * go from 3D -> 0D. We do this to get a @@Ea message for SHMEM. * For NOW we will turn this aspect of filling SHMEM off for the M12 */ diff --git a/ntpd/refclock_parse.c b/ntpd/refclock_parse.c index cfb9904e31..ccd4ee533f 100644 --- a/ntpd/refclock_parse.c +++ b/ntpd/refclock_parse.c @@ -802,7 +802,7 @@ static struct parse_clockinfo const char *cl_description; /* device name */ const char *cl_format; /* fixed format */ u_char cl_type; /* clock type (ntp control) */ - u_long cl_maxunsync; /* time to trust oscillator after loosing synch */ + u_long cl_maxunsync; /* time to trust oscillator after losing synch */ u_long cl_speed; /* terminal input & output baudrate */ u_long cl_cflag; /* terminal control flags */ u_long cl_iflag; /* terminal input flags */ @@ -1181,7 +1181,7 @@ static struct parse_clockinfo "WHARTON 400A Series clock Output Format 1", /* fixed format */ /* Must match a format-name in a libparse/clk_xxx.c file */ DCF_TYPE, /* clock type (ntp control) */ - (1*60*60), /* time to trust oscillator after loosing synch */ + (1*60*60), /* time to trust oscillator after losing synch */ B9600, /* terminal input & output baudrate */ (CS8|CREAD|PARENB|CLOCAL|HUPCL),/* terminal control flags */ 0, /* terminal input flags */ diff --git a/parseutil/dcfd.c b/parseutil/dcfd.c index c59cc3f182..1285bffcec 100644 --- a/parseutil/dcfd.c +++ b/parseutil/dcfd.c @@ -1564,7 +1564,7 @@ main( } /* - * loose terminal if in daemon operation + * lose terminal if in daemon operation */ if (!interactive) detach();