ctime() and time_to_asc() each add a trailing newline of their own.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
return SMB_VFS_NEXT_FNTIMES(handle, fsp, ft);
}
- DBG_DEBUG("set btime for %s to %s\n", fsp_str_dbg(fsp),
+ DBG_DEBUG("set btime for %s to %s", fsp_str_dbg(fsp),
time_to_asc(convert_timespec_to_time_t(ft->create_time)));
ad = ad_fget(talloc_tos(), handle, fsp, ADOUBLE_META);
*sbuf = fsp->fsp_name->st;
out:
- DEBUG(10, ("Leaving with fsp->fsp_name->st.st_ex_mtime %s\n",
+ DEBUG(10, ("Leaving with fsp->fsp_name->st.st_ex_mtime %s",
fsp->fsp_name != NULL ?
- ctime(&(fsp->fsp_name->st.st_ex_mtime.tv_sec)) : "0"));
+ ctime(&(fsp->fsp_name->st.st_ex_mtime.tv_sec)) : "0\n"));
return status;
}