aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2017-05-31 14:54:11 -0700
committerJerry Zhang <zhangjerry@google.com>2017-05-31 14:54:11 -0700
commitd30817badb38af2316139ab7fd6ac3c327f6b3be (patch)
treeae11621183a4cc11d5be76f39117bd4eb13f1373
parentb1b9785dd933cd0275dbcd6d010994cf6fad7737 (diff)
downloadlibmtp-d30817badb38af2316139ab7fd6ac3c327f6b3be.tar.gz
Fix build error.oreo-dr1-dev
Add an argument so detect.c matches up with libmtp.h Test: compiles Change-Id: I5378504077ef7ac2a57a6d4514f5e30e88035dad
-rw-r--r--examples/detect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/detect.c b/examples/detect.c
index 393fd2c..3bc21e7 100644
--- a/examples/detect.c
+++ b/examples/detect.c
@@ -218,7 +218,8 @@ int main (int argc, char **argv)
file->item_id,
tmpfiledescriptor,
NULL,
- NULL);
+ NULL,
+ NULL);
if (ret == 0) {
uint8_t *buf = NULL;
uint32_t readbytes;