]> granicus.if.org Git - shadow/commitdiff
Added missing return value.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 18 May 2009 22:46:13 +0000 (22:46 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 18 May 2009 22:46:13 +0000 (22:46 +0000)
libmisc/user_busy.c

index 2e22615e003d4e47e9bce97d9cbc44485fc164fa..ff626b041afd268bec2552a9d30e9c33668ba1b2 100644 (file)
@@ -91,8 +91,10 @@ static int user_busy_utmp (const char *name)
                        continue;
                }
 
-               return USER_BUSY;
+               return 1;
        }
+
+       return 0;
 }
 #endif                         /* !__linux__ */