Date: Sun, 20 Apr 2003 09:10:44 -0500 From: David Leimbach <leimy2k@mac.com> To: freebsd-current@freebsd.org Subject: patch for libdisk Message-ID: <E08A6B35-7339-11D7-98DE-0003937E39E0@mac.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-2--473799176 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I have not been able to buildworld for CURRENT from a FBSD 5.0 RELEASE box for a few days here. The problem was not handling all enumerated cases in a swtich in src/lib/libdisk/rules.c. I solved it by adding a "default:" to the end of the switch. Patch attatched: [my first patch... tell me if there is something wrong with it :)] --Apple-Mail-2--473799176 Content-Disposition: attachment; filename=rules.c.patch Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="rules.c.patch" Index: rules.c =================================================================== RCS file: /home/dave/fbsd//src/lib/libdisk/rules.c,v retrieving revision 1.29 diff -u -r1.29 rules.c --- rules.c 4 Apr 2003 16:35:13 -0000 1.29 +++ rules.c 20 Apr 2003 14:04:46 -0000 @@ -261,6 +261,8 @@ if (c->next) Check_Chunk(d, c->next, msg); break; + default: + break; } } --Apple-Mail-2--473799176--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E08A6B35-7339-11D7-98DE-0003937E39E0>