diff options
author | Eric Engestrom <[email protected]> | 2019-08-08 10:45:08 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-08 22:02:54 +0100 |
commit | 525a917c6c2a166d72ca83295f6ea32a5d6d83a7 (patch) | |
tree | d940db0209937caa09fbe21eff3ec9b2d62cdc04 /src/util/anon_file.c | |
parent | 8a028b0df2dae4a06529db39bbcf1b7566faa65c (diff) |
util/anon_file: const string param
Fixes: c0376a123418df0050dc ("util: add anon_file.h for all memfd/temp file usage")
Signed-off-by: Eric Engestrom <[email protected]>
Tested-by: Eric Anholt <[email protected]>
Tested-by: Andreas Baierl <[email protected]>
Diffstat (limited to 'src/util/anon_file.c')
-rw-r--r-- | src/util/anon_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/anon_file.c b/src/util/anon_file.c index c05ed94fdfe..2780c74a680 100644 --- a/src/util/anon_file.c +++ b/src/util/anon_file.c @@ -112,7 +112,7 @@ create_tmpfile_cloexec(char *tmpname) * SCM_RIGHTS methods. */ int -os_create_anonymous_file(off_t size, char *debug_name) +os_create_anonymous_file(off_t size, const char *debug_name) { int fd, ret; #ifdef __FreeBSD__ |