Skip to content

Commit

Permalink
MAPREDUCE-6810. Fix hadoop-mapreduce-client-nativetask compilation wi…
Browse files Browse the repository at this point in the history
…th GCC-6.2.1. Contributed by Ravi Prakash.
  • Loading branch information
raviprak-altiscale committed Nov 30, 2016
1 parent b3befc0 commit 7c84871
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern FILE * LOG_DEVICE;
#define LOG(_fmt_, args...) if (LOG_DEVICE) { \
time_t log_timer; struct tm log_tm; \
time(&log_timer); localtime_r(&log_timer, &log_tm); \
fprintf(LOG_DEVICE, "%02d/%02d/%02d %02d:%02d:%02d INFO "_fmt_"\n", \
fprintf(LOG_DEVICE, "%02d/%02d/%02d %02d:%02d:%02d INFO " _fmt_ "\n", \
log_tm.tm_year%100, log_tm.tm_mon+1, log_tm.tm_mday, \
log_tm.tm_hour, log_tm.tm_min, log_tm.tm_sec, \
##args);}
Expand Down

0 comments on commit 7c84871

Please sign in to comment.