mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix bad print statments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1431 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0f15d898be
commit
ce74e10eae
@ -1386,7 +1386,7 @@ xaccTransSetDateSecs (Transaction *trans, time_t secs)
|
||||
{
|
||||
if (!trans) return;
|
||||
CHECK_OPEN (trans);
|
||||
PINFO ("xaccTransSetDateSecs(): addr=%p set date to %u %s \n",
|
||||
PINFO ("xaccTransSetDateSecs(): addr=%p set date to %lu %s \n",
|
||||
trans, secs, ctime (&secs));
|
||||
|
||||
trans->date_posted.tv_sec = secs;
|
||||
@ -1417,7 +1417,7 @@ xaccTransSetDateTS (Transaction *trans, struct timespec *ts)
|
||||
{
|
||||
if (!trans) return;
|
||||
CHECK_OPEN (trans);
|
||||
PINFO ("xaccTransSetDateTS(): addr=%p set date to %u %s \n",
|
||||
PINFO ("xaccTransSetDateTS(): addr=%p set date to %lu %s \n",
|
||||
trans, ts->tv_sec, ctime (&ts->tv_sec));
|
||||
|
||||
trans->date_posted.tv_sec = ts->tv_sec;
|
||||
@ -1465,7 +1465,7 @@ xaccTransSetDateToday (Transaction *trans)
|
||||
trans->date_posted.tv_sec = tv.tv_sec;
|
||||
trans->date_posted.tv_nsec = 1000 * tv.tv_usec;
|
||||
|
||||
PINFO ("xaccTransSetDateToday(): addr=%p set date to %u %s \n",
|
||||
PINFO ("xaccTransSetDateToday(): addr=%p set date to %lu %s \n",
|
||||
trans, tv.tv_sec, ctime (&tv.tv_sec));
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user