summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-05-31 13:07:34 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2018-06-21 17:23:10 +0900
commit28609114f5683816f51ff8dcb2540b5eff43dc31 (patch)
tree648dabb116a6d0535041a0f2b902224fb88224de
parentaed2c4fa4bac219ca940ede9432563946990ed2f (diff)
downloadlthor-28609114f5683816f51ff8dcb2540b5eff43dc31.tar.gz
lthor-28609114f5683816f51ff8dcb2540b5eff43dc31.tar.bz2
lthor-28609114f5683816f51ff8dcb2540b5eff43dc31.zip
Fix wrong opt usage for pid
The opt '--product-id' should be set in pid, but it is set to vid. Fix wrong opt usage for pid. Change-Id: I360cacdade6dd81cd3250013c68a561ebfbdc008 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--lthor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lthor.c b/lthor.c
index d1554dc..0e9aa9c 100644
--- a/lthor.c
+++ b/lthor.c
@@ -494,7 +494,7 @@ int main(int argc, char **argv)
exit(-1);
}
- dev_id.vid = (int)val;
+ dev_id.pid = (int)val;
break;
}
case 3: