diff options
Diffstat (limited to 'examples/screenshot.c')
-rw-r--r-- | examples/screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/screenshot.c b/examples/screenshot.c index 7edb7327..e73989c6 100644 --- a/examples/screenshot.c +++ b/examples/screenshot.c @@ -122,7 +122,7 @@ static const struct wl_registry_listener registry_listener = { }; static int backingfile(off_t size) { - static char template[] = "/tmp/wlroots-shared-XXXXXX"; + char template[] = "/tmp/wlroots-shared-XXXXXX"; int fd, ret; fd = mkstemp(template); |