]> Git Repo - qemu.git/commit - os-posix.c
os-posix: simplify os_find_datadir
authorMarc-André Lureau <[email protected]>
Wed, 18 Sep 2019 08:24:10 +0000 (12:24 +0400)
committerPaolo Bonzini <[email protected]>
Tue, 17 Dec 2019 18:32:47 +0000 (19:32 +0100)
commit6dd2dacedd83d12328afa8559bffb2b9ec5c89ed
tree572c5a0cf38a9bb23a043e1ee62ede1bc6557ba9
parent3819af6e6a8fabe90957fa28bff0d9af56481662
os-posix: simplify os_find_datadir

Use g_build_filename instead of sprintf, and g_autofree instead of
manual freeing.

Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
os-posix.c
This page took 0.022225 seconds and 4 git commands to generate.