Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

typo in /usr/src/usr.bin/newsyslog

From: Tor Houghton <torh(at)bogus.net>
Date: Wed Nov 27 2002 - 17:46:36 EST


Hi,

_I_ think it is a typo, but perhaps I am wrong. It sounds strange, anyway.

Tor

/* $OpenBSD: newsyslog.c,v 1.57.2.1 2002/11/15 19:16:29 millert Exp $ */

  • newsyslog.c.orig Wed Nov 27 22:42:41 2002 +++ newsyslog.c Wed Nov 27 22:43:37 2002 @@ -787,14 +787,14 @@ if (noaction) printf("\tmv %s to %s\n", ent->log, file1); else if (rename(ent->log, file1)) - warn("can't to mv %s to %s", ent->log, file1); + warn("can't mv %s to %s", ent->log, file1); }
        /* Now move the new log file into place */
        if (noaction)
                printf("\tmv %s to %s\n", file2, ent->log);
        else if (rename(file2, ent->log))
-               warn("can't to mv %s to %s", file2, ent->log);
+               warn("can't mv %s to %s", file2, ent->log);
 }  

 /* Log the fact that the logs were turned over */ Received on Wed Nov 27 17:47:33 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library