1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-08 09:39:24 +02:00

(list_entries_users): Use IS_USER_PROCESS

instead of by-hand code.
This commit is contained in:
Paul Eggert
2004-11-30 21:40:52 +00:00
parent 78a436fb0b
commit a0d8525938
+1 -5
View File
@@ -54,11 +54,7 @@ list_entries_users (size_t n, const STRUCT_UTMP *this)
while (n--)
{
if (UT_USER (this) [0]
#ifdef USER_PROCESS
&& this->ut_type == USER_PROCESS
#endif
)
if (IS_USER_PROCESS (this))
{
char *trimmed_name;