diff options
Diffstat (limited to 'tonezone.c')
-rw-r--r-- | tonezone.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -369,7 +369,8 @@ int tone_zone_register_zone(int fd, struct tone_zone *z) x = z->zone; if ((res = ioctl(fd, ZT_FREEZONE, &x))) { - fprintf(stderr, "ioctl(ZT_FREEZONE) failed: %s\n", strerror(errno)); + if (errno != EBUSY) + fprintf(stderr, "ioctl(ZT_FREEZONE) failed: %s\n", strerror(errno)); return res; } |