Revise code (sync with the latest commercial one)
[platform/framework/web/livebox-viewer.git] / src / fb.c
index 69c5dde..1dda034 100644 (file)
--- a/src/fb.c
+++ b/src/fb.c
@@ -436,7 +436,7 @@ void *fb_acquire_buffer(struct fb_info *info)
                } else if (!strncasecmp(info->id, SCHEMA_SHM, strlen(SCHEMA_SHM))) {
                        buffer = shmat(info->handle, NULL, 0);
                        if (buffer == (void *)-1) {
-                               ErrPrint("shmat: %s\n", strerror(errno));
+                               ErrPrint("shmat: %s (%d)\n", strerror(errno), info->handle);
                                return NULL;
                        }