Hello,
anyone getting this build error for elogind-246.9.1 from the svn book?
../src/login/pam_elogind.c: In function ‘export_legacy_dbus_address’:
../src/login/pam_elogind.c:314:13: error: ‘%s’ directive argument is null
[-Werror=format-overflow=]
314 | if (asprintf(&t, DEFAULT_USER_BUS_ADDRESS_FMT, runtime) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is with gcc-10 (I'm using a recent snapshot), builds fine with gcc-9.
Wonder if I should report it upstream...
Cheers,
Leandro
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page