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:
Jordi Sanfeliu 2018-07-13 12:15:46 +02:00 committed by Corinna Vinschen
parent d02cc7a09d
commit ab640f4cd5
1 changed files with 1 additions and 0 deletions

View File

@ -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 ();
}