summaryrefslogtreecommitdiff
path: root/clients/smoke.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-02-20 15:27:49 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-02-20 15:27:49 -0500
commit4172f668e7838a0e89d09b569d99745228c1c9c0 (patch)
tree6e6ee4be97767deb50e9a34660ec744e06974498 /clients/smoke.c
parentd5a97ae053b92dd1050a2cd42287d6c7840fe88c (diff)
downloadweston-4172f668e7838a0e89d09b569d99745228c1c9c0.tar.gz
weston-4172f668e7838a0e89d09b569d99745228c1c9c0.tar.bz2
weston-4172f668e7838a0e89d09b569d99745228c1c9c0.zip
Pass argc pointer to parse_options()
This lets us keep argc up to date as the backend picks out arguments from the argv array.
Diffstat (limited to 'clients/smoke.c')
-rw-r--r--clients/smoke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/smoke.c b/clients/smoke.c
index 80b8c58e..5d7333de 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -279,7 +279,7 @@ int main(int argc, char *argv[])
struct display *d;
int size;
- d = display_create(argc, argv);
+ d = display_create(&argc, argv);
if (d == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return -1;