From: Szilard Pall Date: Thu, 20 Dec 2012 23:36:31 +0000 (+0100) Subject: fix incorrect gmx_fatal argument order X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=5721534c02c6fe579c1d9f5b9c1b07ad1eb14694;p=alexxy%2Fgromacs.git fix incorrect gmx_fatal argument order The format specifiers did not match the argument order. Change-Id: Ib58892f4b0e09d7c3d3442a88f0bda98ea4b54b9 --- diff --git a/src/gmxlib/gmx_detect_hardware.c b/src/gmxlib/gmx_detect_hardware.c index e4fef1fe00..ad3dd9488a 100644 --- a/src/gmxlib/gmx_detect_hardware.c +++ b/src/gmxlib/gmx_detect_hardware.c @@ -177,7 +177,7 @@ static void parse_gpu_id_plain_string(const char *idstr, int *nid, int *idlist) if (idstr[i] < '0' || idstr[i] > '9') { gmx_fatal(FARGS, "Invalid character in GPU ID string: '%c'\n%s\n", - invalid_gpuid_hint, idstr[i]); + idstr[i], invalid_gpuid_hint); } idlist[i] = idstr[i] - '0'; }