Fixes: c0376a123418df0050dc ("util: add anon_file.h for all memfd/temp file usage")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Tested-by: Eric Anholt <eric@anholt.net>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
* 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__
#include <sys/types.h>
-int os_create_anonymous_file(off_t size, char *debug_name);
+int os_create_anonymous_file(off_t size, const char *debug_name);
#endif