commit 947c77f13fcd46d34648cf69eed38ee53543ffd9
parent 7db6634b4c001d320316480d32b90250195b4f0b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 8 Dec 2017 12:11:03 +0100
Update an error message in sdis_device_create
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sdis_device.c b/src/sdis_device.c
@@ -75,8 +75,8 @@ sdis_device_create
if(!dev) {
if(verbose) {
/* Do not use helper log functions since dev is not initialised */
- CHK(logger_print
- (log, LOG_ERROR, "Cannot allocate the Stardis device.\n") == RES_OK);
+ CHK(logger_print(log, LOG_ERROR,
+ "%s: could not allocate the Stardis device.\n", FUNC_NAME) == RES_OK);
}
res = RES_MEM_ERR;
goto error;