mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: remove absolute file names
this makes debug output nicer to read for out-of-tree builds
This commit is contained in:
@@ -42,10 +42,12 @@
|
||||
#include "misc.h"
|
||||
#include "pes.h"
|
||||
|
||||
static const char *FILENAME = "eplayer/output.cpp";
|
||||
|
||||
#define dioctl(fd,req,arg) ({ \
|
||||
int _r = ioctl(fd,req,arg); \
|
||||
if (_r) \
|
||||
fprintf(stderr, "%s %d: ioctl '%s' failed: %d (%s)\n", __FILE__, __LINE__, #req, errno, strerror(errno)); \
|
||||
fprintf(stderr, "%s %d: ioctl '%s' failed: %d (%s)\n", FILENAME, __LINE__, #req, errno, strerror(errno)); \
|
||||
_r; \
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user