Fix to stop a fall-through in a switch statement
The following fixes a fall-through that prevented from reading the next entry in the UTMP file and terminated the program with an abort().
This commit is contained in:
parent
d02cc7a09d
commit
ab640f4cd5
|
@ -65,6 +65,7 @@ getutid (struct utmp *id)
|
|||
case DEAD_PROCESS:
|
||||
if (id->ut_id == utmp_data.ut_id)
|
||||
return &utmp_data;
|
||||
break;
|
||||
default:
|
||||
abort ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue