mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
minor compiler warning fix for function declaration prototype
This commit is contained in:
parent
0499fb88d6
commit
571168690b
@ -1210,7 +1210,7 @@ static void _exec_lvm1_command(char **argv)
|
|||||||
log_sys_error("execvp", path);
|
log_sys_error("execvp", path);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _nonroot_warning()
|
static void _nonroot_warning(void)
|
||||||
{
|
{
|
||||||
if (getuid() || geteuid())
|
if (getuid() || geteuid())
|
||||||
log_warn("WARNING: Running as a non-root user. Functionality may be unavailable.");
|
log_warn("WARNING: Running as a non-root user. Functionality may be unavailable.");
|
||||||
|
Loading…
Reference in New Issue
Block a user