diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 1da7bff049..6d927ef8dd 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -1503,8 +1503,8 @@ static int attach_luks_or_plain_or_bitlk_by_pkcs11( if (r < 0) return r; - log_notice("Security token %s not present for unlocking volume %s, please plug it in.", - uri, friendly); + log_notice("Security token%s%s not present for unlocking volume %s, please plug it in.", + uri ? " " : "", strempty(uri), friendly); /* Let's immediately rescan in case the token appeared in the time we needed * to create and configure the monitor */