Skip to content

Commit

Permalink
Fix odd log timestamp format.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcharding committed Jul 9, 2016
1 parent 91a3b37 commit cd59e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NFS3Prog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ int CNFS3Prog::Process(IInputStream *pInStream, IOutputStream *pOutStream, Proce
time(&now);
localtime_s(&current, &now);

PrintLog("[%i:%i:%i] NFS ", current.tm_hour, current.tm_min, current.tm_sec);
PrintLog("[%02d:%02d:%02d] NFS ", current.tm_hour, current.tm_min, current.tm_sec);

if (pParam->nProc >= sizeof(pf) / sizeof(PPROC)) {
ProcedureNOIMP();
Expand Down

0 comments on commit cd59e4c

Please sign in to comment.