Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94073
b: refs/heads/master
c: 3af9c5b
h: refs/heads/master
i:
  94071: 24fc26b
v: v3
  • Loading branch information
WANG Cong authored and Linus Torvalds committed Apr 28, 2008
1 parent b1fc88d commit 1cd4c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16a26ef5ad31b59c521bd9becccaee84c0157326
refs/heads/master: 3af9c5bed1b8f284f3d7d479c77adf60ad059e91
7 changes: 4 additions & 3 deletions trunk/arch/um/kernel/um_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static int have_root __initdata = 0;
/* Set in uml_mem_setup and modified in linux_main */
long long physmem_size = 32 * 1024 * 1024;

static char *usage_string =
static const char *usage_string =
"User Mode Linux v%s\n"
" available at http://user-mode-linux.sourceforge.net/\n\n";

Expand Down Expand Up @@ -202,7 +202,7 @@ static void __init uml_checksetup(char *line, int *add)

p = &__uml_setup_start;
while (p < &__uml_setup_end) {
int n;
size_t n;

n = strlen(p->str);
if (!strncmp(line, p->str, n) && p->setup_func(line + n, add))
Expand Down Expand Up @@ -258,7 +258,8 @@ int __init linux_main(int argc, char **argv)
{
unsigned long avail, diff;
unsigned long virtmem_size, max_physmem;
unsigned int i, add;
unsigned int i;
int add;
char * mode;

for (i = 1; i < argc; i++) {
Expand Down

0 comments on commit 1cd4c91

Please sign in to comment.