[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count
From: |
Mark H Weaver |
Subject: |
[PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count |
Date: |
Wed, 26 Jan 2011 00:05:20 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
This is a small and obvious fix.
Mark
>From 004fa8237d60d234eb91b97d022458014c1eb978 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
Date: Tue, 25 Jan 2011 18:29:47 -0500
Subject: [PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count
* libguile/posix.c (scm_current_processor_count):
Fix incorrect FUNC_NAME (was s_scm_total_processor_count)
---
libguile/posix.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libguile/posix.c b/libguile/posix.c
index 95beb6e..939e248 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -2015,7 +2015,7 @@ SCM_DEFINE (scm_current_processor_count,
"current-processor-count", 0, 0, 0,
"processors available to the current process. See\n"
"@code{setaffinity} and @code{getaffinity} for more\n"
"information.\n")
-#define FUNC_NAME s_scm_total_processor_count
+#define FUNC_NAME s_scm_current_processor_count
{
return scm_from_ulong (num_processors (NPROC_CURRENT));
}
--
1.5.6.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count,
Mark H Weaver <=