diff options
author | jy910.yun <jy910.yun@samsung.com> | 2013-02-27 14:31:35 +0900 |
---|---|---|
committer | jy910.yun <jy910.yun@samsung.com> | 2013-02-27 16:19:13 +0900 |
commit | f3c772c71e8225999ea442c7c945d63a1b220ede (patch) | |
tree | 910447d032268e539d14c0a97fb3f6b02c908912 | |
parent | 488685d60544565d38f106a369c8b19abc2414ca (diff) | |
download | libdevice-node-f3c772c71e8225999ea442c7c945d63a1b220ede.tar.gz libdevice-node-f3c772c71e8225999ea442c7c945d63a1b220ede.tar.bz2 libdevice-node-f3c772c71e8225999ea442c7c945d63a1b220ede.zip |
restore to add devman_plugin.pc file.submit/trunk/20130304.020433
Change-Id: I8fb76484a4f51fdfcc9625cc0ecb411d9a64d9be
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/device-node.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fd17114..6aca950 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,8 +40,8 @@ CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig) # will be deprecated -#CONFIGURE_FILE(devman_plugin.pc.in devman_plugin.pc @ONLY) -#INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/devman_plugin.pc DESTINATION lib/pkgconfig) +CONFIGURE_FILE(devman_plugin.pc.in devman_plugin.pc @ONLY) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/devman_plugin.pc DESTINATION lib/pkgconfig) FOREACH(hfile ${HEADERS}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${hfile} DESTINATION include/${PROJECT_NAME}) diff --git a/src/device-node.c b/src/device-node.c index b567a65..4612778 100644 --- a/src/device-node.c +++ b/src/device-node.c @@ -87,7 +87,7 @@ API int device_get_property(enum device_type devtype, int property, int *value) errno = ENODEV; return -1; } else if (r == -1) { - DEVERR("get_prop of %s return failes", dev->name); + DEVERR("get_prop of %s(%d) return failes", dev->name, property); errno = EPERM; return -1; } @@ -128,7 +128,7 @@ API int device_set_property(enum device_type devtype, int property, int value) errno = ENODEV; return -1; } else if (r == -1) { - DEVERR("set_prop of %s return failes", dev->name); + DEVERR("set_prop of %s(%d) return failes", dev->name, property); errno = EPERM; return -1; } |