HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-devel] Missing new-lines in user_log.C



I have found two missing new-lines in user_log.C.  Patch follows.

--- condor_c++_util/user_log.C.ORIG	Tue Jan 18 10:55:14 2005
+++ condor_c++_util/user_log.C	Wed Jun  1 15:10:33 2005
@@ -278,14 +278,14 @@
 
 	if ( fflush(fp) != 0 ) {
 		dprintf( D_ALWAYS, "fflush() failed in UserLog::writeEvent - "
-				"errno %d (%s)", errno, strerror(errno) );
+				"errno %d (%s)\n", errno, strerror(errno) );
 		// Note:  should we set success to false here?
 	}
 	// Now that we have flushed the stdio stream, sync to disk
 	// *before* we release our write lock!
 	if ( fsync( fileno( fp ) ) != 0 ) {
 		dprintf( D_ALWAYS, "fsync() failed in UserLog::writeEvent - "
-				"errno %d (%s)", errno, strerror(errno) );
+				"errno %d (%s)\n", errno, strerror(errno) );
 		// Note:  should we set success to false here?
 	}
 	lock->release ();

-- 
Daniel K. Forrest	Laboratory for Molecular and
forrest@xxxxxxxxxxxxx	Computational Genomics
(608) 262 - 9479	University of Wisconsin, Madison