This patch fixes a linking error of bchdev_unregister.c.
Change _err to fdbg.
Change-Id: I7643bada69bf8dba80ec3bc441ca4c9933e12e6d
Signed-off-by: EunBong Song <eunb.song@samsung.com>
/* Open the character driver associated with chardev */
fd = open(chardev, O_RDONLY);
if (fd < 0) {
- _err("ERROR: Failed to open %s: %d\n", chardev, errno);
+ fdbg("ERROR: Failed to open %s: %d\n", chardev, errno);
return -errno;
}
(void)close(fd);
if (ret < 0) {
- _err("ERROR: ioctl failed: %d\n", errno);
+ fdbg("ERROR: ioctl failed: %d\n", errno);
return -errno;
}