diff options
author | Toomas Soome <tsoome@me.com> | 2019-04-07 11:15:10 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-01-15 21:35:03 +0200 |
commit | f0202039df53b3f7038d1625ff6ffae7b09a8fb0 (patch) | |
tree | 61d6a11288417d9602626f47ff1643ffa123fd5e /usr/src | |
parent | 614a9f681afc3c353478b52a1f8b5ac1cec364d0 (diff) | |
download | illumos-joyent-f0202039df53b3f7038d1625ff6ffae7b09a8fb0.tar.gz |
13151 loader: isoboot.c: info: ignoring unreachable code.
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/boot/sys/boot/i386/isoboot/isoboot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/boot/sys/boot/i386/isoboot/isoboot.c b/usr/src/boot/sys/boot/i386/isoboot/isoboot.c index e5550f3b2f..8e25fd55de 100644 --- a/usr/src/boot/sys/boot/i386/isoboot/isoboot.c +++ b/usr/src/boot/sys/boot/i386/isoboot/isoboot.c @@ -331,12 +331,10 @@ main(void) /* Needed so btxld can link us properly; do not remove. */ void -exit(int x __unused) +exit(int x) { - while (1) - ; - __unreachable(); + __exit(x); } static void |