mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 08:53:38 +02:00
replace __FILE__ with __file__
Origin commit data
------------------
Branch: ni/coolstream
Commit: 70b7f74362
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-10 (Sun, 10 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
b53fd92a6d
commit
040f68984e
@@ -104,14 +104,14 @@ static unsigned int timer_msec;
|
||||
#define DBG_TIMER_STOP(label) \
|
||||
gettimeofday(&timer_tv2, NULL); \
|
||||
timer_msec = ((timer_tv2.tv_sec - timer_tv.tv_sec) * 1000) + ((timer_tv2.tv_usec - timer_tv.tv_usec) / 1000); \
|
||||
printf("##### [%s] %s: %u msec\n", __FILE__, label, timer_msec);
|
||||
printf("##### [%s] %s: %u msec\n", __file__, label, timer_msec);
|
||||
#else
|
||||
#define DBG_TIMER_START()
|
||||
#define DBG_TIMER_STOP(label)
|
||||
#endif // UPDATE_DEBUG_TIMER
|
||||
|
||||
#ifdef UPDATE_DEBUG
|
||||
#define DBG_MSG(fmt, args...) printf("#### [%s:%s:%d] " fmt "\n", __FILE__, __FUNCTION__, __LINE__ , ## args);
|
||||
#define DBG_MSG(fmt, args...) printf("#### [%s:%s:%d] " fmt "\n", __file__, __func__, __LINE__ , ## args);
|
||||
#else
|
||||
#define DBG_MSG(fmt, args...)
|
||||
#endif // UPDATE_DEBUG
|
||||
|
Reference in New Issue
Block a user