summaryrefslogtreecommitdiff
path: root/lib/libutil/getrawpartition.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-09 22:18:44 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-09 22:18:44 +0000
commit76ca910ee5863ed79f83a2b4f217a1df9f47c18b (patch)
tree49171afbff877381a7d0ba448cd7911c7fb951e5 /lib/libutil/getrawpartition.c
parent2fb4e0192533ede27e5237da7214e7d2c7bfbceb (diff)
some -Wall and spaces cleanup, scsi.c left.
some brave soul should look at it.
Diffstat (limited to 'lib/libutil/getrawpartition.c')
-rw-r--r--lib/libutil/getrawpartition.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/getrawpartition.c b/lib/libutil/getrawpartition.c
index 346701d1d2c..69a349800ab 100644
--- a/lib/libutil/getrawpartition.c
+++ b/lib/libutil/getrawpartition.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getrawpartition.c,v 1.2 1996/06/17 07:46:02 downsj Exp $ */
+/* $OpenBSD: getrawpartition.c,v 1.3 2002/06/09 22:18:43 fgsch Exp $ */
/* $NetBSD: getrawpartition.c,v 1.1 1996/05/16 07:03:33 thorpej Exp $ */
/*-
@@ -38,7 +38,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: getrawpartition.c,v 1.1 1996/05/16 07:03:33 thorpej Exp $";
+static const char rcsid[] = "$NetBSD: getrawpartition.c,v 1.1 1996/05/16 07:03:33 thorpej Exp $";
#endif
#include <sys/param.h>
@@ -50,7 +50,7 @@ int
getrawpartition()
{
int rawpart, mib[2];
- size_t varlen;
+ size_t varlen;
mib[0] = CTL_KERN;
mib[1] = KERN_RAWPARTITION;