meson: Fix unused format parameter warning

This commit is contained in:
Jan Janssen 2023-10-16 16:47:41 +02:00 committed by Mike Yuan
parent 869c1cf88f
commit 79f4870384

View File

@ -882,7 +882,7 @@ if not meson.is_cross_build()
endif
if nobody_user != nobody_group and not (nobody_user == 'nobody' and nobody_group == 'nogroup')
warning('\n' +
'The configured user name "@0@" and group name "@0@" of the nobody user/group are not equivalent.\n'.format(nobody_user, nobody_group) +
'The configured user name "@0@" and group name "@1@" of the nobody user/group are not equivalent.\n'.format(nobody_user, nobody_group) +
'Please re-check that both "nobody-user" and "nobody-group" options are correctly set.')
endif