1
0
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:
Zdeněk Kabeláč 2008-11-12 09:49:06 +00:00
parent 54d790828f
commit 702cfe15be

View File

@ -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.");