]> git.saurik.com Git - apple/system_cmds.git/blobdiff - sysctl.tproj/sysctl.c
system_cmds-790.tar.gz
[apple/system_cmds.git] / sysctl.tproj / sysctl.c
index 30b066b5245beab964b1e9f58f6cee4aa946bec6..606459a7d56787ec0b72d5d720e550862685bed6 100644 (file)
@@ -680,6 +680,9 @@ oidfmt(int *oid, int len, char *fmt, u_int *kind)
                                        }
                                } else if (buf[sizeof(u_int)] == 'L') {
                                        *kind = (*kind & ~CTLTYPE) | CTLTYPE_LONG;
+                    if (buf[sizeof(u_int)+1] == 'U') {
+                        *kind = (*kind & ~CTLTYPE) | CTLTYPE_ULONG;
+                    }
                                }
                                break;
                        case CTLTYPE_QUAD: