Page MenuHomeFreeBSD

D47652.diff
No OneTemporary

D47652.diff

diff --git a/sys/geom/part/g_part_bsd.c b/sys/geom/part/g_part_bsd.c
--- a/sys/geom/part/g_part_bsd.c
+++ b/sys/geom/part/g_part_bsd.c
@@ -136,7 +136,7 @@
if (type[0] == '!') {
lt = strtol(type + 1, &endp, 0);
- if (type[1] == '\0' || *endp != '\0' || lt <= 0 || lt >= 256)
+ if (type[1] == '\0' || *endp != '\0' || lt < 0 || lt >= 256)
return (EINVAL);
*fstype = (u_int)lt;
return (0);

File Metadata

Mime Type
text/plain
Expires
Thu, May 1, 7:01 AM (17 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17875604
Default Alt Text
D47652.diff (407 B)

Event Timeline