It's clearer to put the assignment on the declaration as an initializer than here inside the conditional !
```
struct passwd *pw = getpwuid(getuid());
if (pw == NULL)
```