diff options
Diffstat (limited to 'dahdi_cfg.c')
-rw-r--r-- | dahdi_cfg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dahdi_cfg.c b/dahdi_cfg.c index 8133454..9859f41 100644 --- a/dahdi_cfg.c +++ b/dahdi_cfg.c @@ -671,7 +671,9 @@ static void apply_fiftysix(void) for (x = 1; x < DAHDI_MAX_CHANNELS; x++) { chanfd = open("/dev/dahdi/channel", O_RDWR); if (chanfd == -1) { - fprintf(stderr, "Couldn't open /dev/dahdi/channel\n"); + fprintf(stderr, + "Couldn't open /dev/dahdi/channel: %s\n", + strerror(errno)); exit(-1); } |