From 9602ccf95c84ebeecd9b53d559c7ece559d5807b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 12 Jan 2005 01:21:45 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5074 --- sched/sched_locality.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sched/sched_locality.C b/sched/sched_locality.C index 3a6b60e978..a5d47f036f 100644 --- a/sched/sched_locality.C +++ b/sched/sched_locality.C @@ -140,7 +140,7 @@ int make_more_work_for_file(char* filename) { if (!fp2) { log_messages.printf( SCHED_MSG_LOG::CRITICAL, - "unable to touch %s to indicate need work for file %s\n", fullpath, filename + "unable to touch %s\n", fullpath ); return -1; } @@ -205,6 +205,7 @@ void flag_for_possible_removal(char* filename) { char path[256]; sprintf(path, "../locality_scheduling/working_set_removal/%s", filename); FILE *f = fopen(path, "w"); + if (f) fclose(f); } // The client has (or will soon have) the given file.