From dfe7661b15456e54dc45215e75e2607a17c9bd52 Mon Sep 17 00:00:00 2001 From: Michael Gary Date: Mon, 1 Jul 2002 23:16:03 +0000 Subject: [PATCH] fixed more bugs in create_work svn path=/trunk/boinc/; revision=151 --- 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 39193b005d..c10d9c67fd 100644 --- a/tools/create_work.C +++ b/tools/create_work.C @@ -98,10 +98,10 @@ int main(int argc, char** argv) { wu.rsc_iops = atof(argv[i+1]); } else if (!strcmp(argv[i], "-rsc_memory")) { i++; - wu.rsc_memory = atof(argv[i]); + wu.rsc_memory = atof(argv[i+1]); } else if (!strcmp(argv[i], "-rsc_disk")) { i++; - wu.rsc_disk = atof(argv[i]); + wu.rsc_disk = atof(argv[i+1]); } else if (!strcmp(argv[i], "-wu_name_rand")) { i++; sprintf(wu.name, "%s_%d", argv[i], rand());