Module Name: src
Committed By: pooka
Date: Sat Feb 5 17:25:45 UTC 2011
Modified Files:
src/sys/rump/librump/rumpkern: vm.c
Log Message:
Use correct strtoululululu variant.
from Taylor R Campbell
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/rump/librump/rumpkern/vm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.108 src/sys/rump/librump/rumpkern/vm.c:1.109
--- src/sys/rump/librump/rumpkern/vm.c:1.108 Sat Jan 22 13:13:46 2011
+++ src/sys/rump/librump/rumpkern/vm.c Sat Feb 5 17:25:45 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.108 2011/01/22 13:13:46 pooka Exp $ */
+/* $NetBSD: vm.c,v 1.109 2011/02/05 17:25:45 pooka Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.108 2011/01/22 13:13:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.109 2011/02/05 17:25:45 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -260,7 +260,7 @@
char *ep;
int mult;
- tmp = strtoll(buf, &ep, 10);
+ tmp = strtoul(buf, &ep, 10);
if (strlen(ep) > 1)
panic("uvm_init: invalid RUMP_MEMLIMIT: %s", buf);