Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/stand/altboot drop trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/122aeee8a2c7
branches: trunk
changeset: 327966:122aeee8a2c7
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Mar 22 18:54:28 2014 +0000
description:
drop trailing whitespace
diffstat:
sys/arch/sandpoint/stand/altboot/main.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r bf0fb7e6ba3e -r 122aeee8a2c7 sys/arch/sandpoint/stand/altboot/main.c
--- a/sys/arch/sandpoint/stand/altboot/main.c Sat Mar 22 17:57:47 2014 +0000
+++ b/sys/arch/sandpoint/stand/altboot/main.c Sat Mar 22 18:54:28 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.23 2014/01/05 21:10:50 jakllsch Exp $ */
+/* $NetBSD: main.c,v 1.24 2014/03/22 18:54:28 jakllsch Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -430,8 +430,8 @@
bm = alloc(sizeof(struct boot_module) + strlen(name) + 1);
if (bm == NULL) {
- printf("couldn't allocate module %s\n", name);
- return;
+ printf("couldn't allocate module %s\n", name);
+ return;
}
bm->bm_kmod = (char *)(bm + 1);
@@ -451,12 +451,12 @@
#define alignpg(x) (((x)+PAGE_SIZE-1) & ~(PAGE_SIZE-1))
void
-module_load(const char *kernel_path)
+module_load(const char *kernel_path)
{
struct boot_module *bm;
struct bi_modulelist_entry *bi;
struct stat st;
- char *p;
+ char *p;
int size, fd;
strcpy(module_base, kernel_path);
@@ -496,7 +496,7 @@
}
bm->bm_len = (int)st.st_size;
close(fd);
- size += sizeof(struct bi_modulelist_entry);
+ size += sizeof(struct bi_modulelist_entry);
}
if (size == 0)
return;
Home |
Main Index |
Thread Index |
Old Index