summaryrefslogtreecommitdiffstats
path: root/tools/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grab.c')
-rw-r--r--tools/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grab.c b/tools/grab.c
index b020279..e8e91be 100644
--- a/tools/grab.c
+++ b/tools/grab.c
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
while (counter < 5) {
g_print(" grab frame ... ");
g_timer_start(timer);
- uca_camera_grab(camera, &buffer, &error);
+ uca_camera_grab(camera, buffer, &error);
if (error != NULL) {
g_print("\nError: %s\n", error->message);