summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-25 23:24:42 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-02-25 23:24:42 +0000
commitcdcc630cf1f183a9c959cac842569d1460c3b858 (patch)
tree0a5b6a39b8fd795c0a603c7622ff69900e5c68a4
parent5dd1363086490ce66004d99968b254754fc552ac (diff)
downloaddevice_samsung_p3100-cdcc630cf1f183a9c959cac842569d1460c3b858.zip
device_samsung_p3100-cdcc630cf1f183a9c959cac842569d1460c3b858.tar.gz
device_samsung_p3100-cdcc630cf1f183a9c959cac842569d1460c3b858.tar.bz2
p3100: camera: fix copy & paste fail
Change-Id: Ib0312dcae9f46928954b5b452318a5313cc142ff
-rw-r--r--camerawrapper/CameraWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camerawrapper/CameraWrapper.cpp b/camerawrapper/CameraWrapper.cpp
index 5c1223a..f9ff088 100644
--- a/camerawrapper/CameraWrapper.cpp
+++ b/camerawrapper/CameraWrapper.cpp
@@ -317,7 +317,7 @@ int camera_cancel_picture(struct camera_device * device)
if(!device)
return -EINVAL;
- return VENDOR_CALL(device, take_picture);
+ return VENDOR_CALL(device, cancel_picture);
}
int camera_set_parameters(struct camera_device * device, const char *params)