mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libeplayer3: remove absolute file names
this makes debug output nicer to read for out-of-tree builds
Origin commit data
------------------
Branch: master
Commit: d6d6b4a242
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-22 (Sun, 22 Feb 2015)
------------------
This commit was generated by Migit
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