Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 23:59:33 GMT
From:      "Constantine A. Murenin" <cnst@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 124229 for review
Message-ID:  <200707272359.l6RNxXgZ088282@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124229

Change 124229 by cnst@dale on 2007/07/27 23:59:27

	why was i declared int if it is a char? 

Affected files ...

.. //depot/projects/soc2007/cnst-sensors/sys.kern/kern_sysctl.c#5 edit

Differences ...

==== //depot/projects/soc2007/cnst-sensors/sys.kern/kern_sysctl.c#5 (text+ko) ====

@@ -654,7 +654,7 @@
 static int
 name2oid(char *name, int *oid, int *len, struct sysctl_oid **oidpp)
 {
-	int i;
+	char i;
 	struct sysctl_oid *oidp;
 	struct sysctl_oid_list *lsp = &sysctl__children;
 	char *p;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707272359.l6RNxXgZ088282>