From: EunBong Song Date: Tue, 16 May 2017 11:28:42 +0000 (+0900) Subject: drivers/bch: fix linking error X-Git-Tag: 1.1_Public_Release~561^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1772c0539dc5875cc0584c5de45a8345f78646d7;p=rtos%2Ftinyara.git drivers/bch: fix linking error This patch fixes a linking error of bchdev_unregister.c. Change _err to fdbg. Change-Id: I7643bada69bf8dba80ec3bc441ca4c9933e12e6d Signed-off-by: EunBong Song --- diff --git a/os/drivers/bch/bchdev_unregister.c b/os/drivers/bch/bchdev_unregister.c index 420c560..8abb2ad 100644 --- a/os/drivers/bch/bchdev_unregister.c +++ b/os/drivers/bch/bchdev_unregister.c @@ -97,7 +97,7 @@ int bchdev_unregister(FAR const char *chardev) /* 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; } @@ -109,7 +109,7 @@ int bchdev_unregister(FAR const char *chardev) (void)close(fd); if (ret < 0) { - _err("ERROR: ioctl failed: %d\n", errno); + fdbg("ERROR: ioctl failed: %d\n", errno); return -errno; }