diff options
author | Jordi Sanfeliu <jordi@fibranet.cat> | 2018-07-13 13:15:46 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-07-13 14:33:33 +0300 |
commit | ab640f4cd5605b6675538b196641c46c36c75c64 (patch) | |
tree | 6f7c97623e3a947742ad3937317a99b333ec4a30 /newlib/libc/unix | |
parent | d02cc7a09d93768961ec5d77acd2ae51b9088d24 (diff) |
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().
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r-- | newlib/libc/unix/getut.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/unix/getut.c b/newlib/libc/unix/getut.c index c3a9b626c..89ed7390f 100644 --- a/newlib/libc/unix/getut.c +++ b/newlib/libc/unix/getut.c @@ -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 (); } |