From ffc43e2cd853c13f884d8e0dfdc5959fe11ec893 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 24 Nov 2007 15:49:32 +0000 Subject: [PATCH] Fix a typo in a comment, and while here also drop trailing whitespace. --- sys/arch/ofppc/stand/ofwboot/Locore.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/arch/ofppc/stand/ofwboot/Locore.c b/sys/arch/ofppc/stand/ofwboot/Locore.c index 41f9da99439d..b46e31ab6aa8 100644 --- a/sys/arch/ofppc/stand/ofwboot/Locore.c +++ b/sys/arch/ofppc/stand/ofwboot/Locore.c @@ -1,4 +1,4 @@ -/* $NetBSD: Locore.c,v 1.16 2007/10/17 19:56:13 garbled Exp $ */ +/* $NetBSD: Locore.c,v 1.17 2007/11/24 15:49:32 jmmv Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -138,7 +138,7 @@ OF_boot(char *bootspec) args.bootspec = bootspec; openfirmware(&args); - for (;;); /* just is case */ + for (;;); /* just in case */ } int @@ -154,8 +154,8 @@ OF_finddevice(char *name) "finddevice", 1, 1, - }; - + }; + args.device = name; if (openfirmware(&args) == -1) return -1; @@ -176,7 +176,7 @@ OF_instance_to_package(int ihandle) 1, 1, }; - + args.ihandle = ihandle; if (openfirmware(&args) == -1) return -1; @@ -200,7 +200,7 @@ OF_getprop(int handle, char *prop, void *buf, int buflen) 4, 1, }; - + args.phandle = handle; args.prop = prop; args.buf = buf; @@ -228,7 +228,7 @@ OF_setprop(int handle, char *prop, void *buf, int len) 4, 1, }; - + args.phandle = handle; args.prop = prop; args.buf = buf; @@ -253,7 +253,7 @@ OF_open(char *dname) 1, 1, }; - + #ifdef OFW_DEBUG printf("OF_open(%s) -> ", dname); #endif @@ -284,7 +284,7 @@ OF_close(int handle) 1, 0, }; - + #ifdef OFW_DEBUG printf("OF_close(%d)\n", handle); #endif @@ -382,7 +382,7 @@ OF_seek(int handle, u_quad_t pos) 3, 1, }; - + #ifdef OFW_DEBUG printf("OF_seek(%d, %x, %x) -> ", handle, (int)(pos >> 32), (int)pos); #endif @@ -450,7 +450,7 @@ OF_release(void *virt, u_int size) 2, 0, }; - + #ifdef OFW_DEBUG printf("OF_release(%p, %x)\n", virt, size); #endif @@ -472,7 +472,7 @@ OF_milliseconds(void) 0, 1, }; - + openfirmware(&args); return args.ms; } @@ -524,7 +524,7 @@ static void setup(void) { int chosen; - + if ((chosen = OF_finddevice("/chosen")) == -1) OF_exit(); if (OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)) !=