mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: use string directly
This commit is contained in:
parent
3e0fb102de
commit
07d766d270
@ -18,7 +18,6 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
static const char _no_context_msg[] = "Udev library context not set.";
|
||||
struct udev *_udev;
|
||||
|
||||
int udev_init_library_context(void)
|
||||
@ -46,7 +45,7 @@ int udev_is_running(void)
|
||||
int r;
|
||||
|
||||
if (!_udev) {
|
||||
log_debug_activation(_no_context_msg);
|
||||
log_debug_activation("Udev library context not set.");
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user