From adbd89f5cda1ca895d08016df833eda1c3e31c74 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Tue, 11 Mar 2008 15:35:35 +0000
Subject: [PATCH] svn merge -r13533:13550
 https://eris.llnl.gov/svn/slurm/branches/slurm-1.2

---
 .../accounting_storage/filetxt/accounting_storage_filetxt.c     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/accounting_storage/filetxt/accounting_storage_filetxt.c b/src/plugins/accounting_storage/filetxt/accounting_storage_filetxt.c
index 5e23c1d41de..6ee551bee2e 100644
--- a/src/plugins/accounting_storage/filetxt/accounting_storage_filetxt.c
+++ b/src/plugins/accounting_storage/filetxt/accounting_storage_filetxt.c
@@ -158,7 +158,7 @@ static int _print_record(struct job_record *job_ptr,
 		    job_ptr->user_id, job_ptr->group_id, block_id, data)
 	    < 0)
 		rc=SLURM_ERROR;
-#ifdef HAVE_FDATSYNC
+#ifdef HAVE_FDATASYNC
 	fdatasync(LOGFILE_FD);
 #endif
 	slurm_mutex_unlock( &logfile_lock );
-- 
GitLab