From 20aefffb33dabaaddd038eda5640d3893a8ef1f8 Mon Sep 17 00:00:00 2001 From: Michael Gary Date: Fri, 28 Jun 2002 00:56:08 +0000 Subject: [PATCH] Fixed bug in add_work svn path=/trunk/boinc/; revision=138 --- tools/create_work.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/create_work.C b/tools/create_work.C index 5267b63d63..6cdb0f805d 100644 --- a/tools/create_work.C +++ b/tools/create_work.C @@ -90,10 +90,10 @@ int main(int argc, char** argv) { nresults = atoi(argv[i]); } else if (!strcmp(argv[i], "-rsc_fpops")) { i++; - wu.rsc_fpops = atof(argv[i]); + wu.rsc_fpops = atof(argv[i+1]); } else if (!strcmp(argv[i], "-rsc_iops")) { i++; - wu.rsc_iops = atof(argv[i]); + wu.rsc_iops = atof(argv[i+1]); } else if (!strcmp(argv[i], "-rsc_memory")) { i++; wu.rsc_memory = atof(argv[i]);