dlog: Fix dlog format errors 55/194755/1 accepted/tizen/unified/20181207.175431 submit/tizen/20181207.064308
authorpr.jung <pr.jung@samsung.com>
Fri, 7 Dec 2018 06:28:20 +0000 (15:28 +0900)
committerpr.jung <pr.jung@samsung.com>
Fri, 7 Dec 2018 06:28:20 +0000 (15:28 +0900)
Change-Id: I0e8141da652a5c6db57455740f5cb0e09e646c13
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/auto-test/storage.c
src/block/block.c

index 579fa22..323c0ad 100644 (file)
@@ -40,7 +40,7 @@ static bool request_storage_method(const char *method, GVariant *param)
                _E("fail (%s): no message", method);
        else {
                if (val1 <= 0) {
-                       _E("fail (%s): returned total storage (%d)", method, val1);
+                       _E("fail (%s): returned total storage (%4.0llu)", method, val1);
                } else {
                        _I("success (%s): Total: %4.0llu Avail: %4.0llu", method, val1, val2);
                        ret = TRUE;
index ec4295f..2093858 100644 (file)
@@ -1592,7 +1592,7 @@ static int block_mount_device(struct block_device *bdev, void *data)
        l = DD_LIST_FIND(th_manager[thread_id].block_dev_list, bdev);
        pthread_mutex_unlock(&(th_manager[thread_id].mutex));
        if (!l) {
-               _E("(%d) does not exist in the device list", bdev->data->devnode);
+               _E("(%s) does not exist in the device list", bdev->data->devnode);
                return -ENOENT;
        }
 
@@ -1624,7 +1624,7 @@ static int block_format_device(struct block_device *bdev, void *data)
        l = DD_LIST_FIND(th_manager[thread_id].block_dev_list, bdev);
        pthread_mutex_unlock(&(th_manager[thread_id].mutex));
        if (!l) {
-               _E("(%d) does not exist in the device list", bdev->data->devnode);
+               _E("(%s) does not exist in the device list", bdev->data->devnode);
                ret = -ENOENT;
                goto out;
        }