mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 01:50:25 +01:00
remove senseless cast.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@983 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
2b0d83c58a
commit
de03d96430
1 changed files with 1 additions and 1 deletions
|
|
@ -817,7 +817,7 @@ int main( int argc, char *argv[] )
|
|||
gboolean enable_test_devices = FALSE;
|
||||
char * owner;
|
||||
|
||||
if ((int)getuid() != 0)
|
||||
if (getuid () != 0)
|
||||
{
|
||||
g_printerr ("You must be root to run NetworkManager!\n");
|
||||
return (EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue