diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-20 15:27:49 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-20 15:27:49 -0500 |
commit | 4172f668e7838a0e89d09b569d99745228c1c9c0 (patch) | |
tree | 6e6ee4be97767deb50e9a34660ec744e06974498 /clients/smoke.c | |
parent | d5a97ae053b92dd1050a2cd42287d6c7840fe88c (diff) |
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.c | 2 |
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; |