Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Use correct strtoululululu variant.
details: https://anonhg.NetBSD.org/src/rev/310804a547c8
branches: trunk
changeset: 761706:310804a547c8
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Feb 05 17:25:45 2011 +0000
description:
Use correct strtoululululu variant.
from Taylor R Campbell
diffstat:
sys/rump/librump/rumpkern/vm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8c68140dbbc9 -r 310804a547c8 sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Sat Feb 05 17:14:14 2011 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Sat Feb 05 17:25:45 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index