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