1
0
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:
Zdenek Kabelac 2008-11-12 09:49:06 +00:00
parent 0499fb88d6
commit 571168690b

View File

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