FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 04-06-2012, 05:53 PM
Jan Pokorný
 
Default rgmanager: reslist: sanitize act_dup

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
---
reslist.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/reslist.c b/reslist.c
index f9924cd..b75f4b0 100644
--- a/reslist.c
+++ b/reslist.c
@@ -626,10 +626,10 @@ print_resources(resource_t **resources)
}


-void *
+resource_act_t *
act_dup(resource_act_t *acts)
{
- int x;
+ size_t x;
resource_act_t *newacts;

for (x = 0; acts[x].ra_name; x++);
--
1.7.3.4
 

Thread Tools




All times are GMT. The time now is 08:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org