From 5721534c02c6fe579c1d9f5b9c1b07ad1eb14694 Mon Sep 17 00:00:00 2001 From: Szilard Pall Date: Fri, 21 Dec 2012 00:36:31 +0100 Subject: [PATCH] fix incorrect gmx_fatal argument order The format specifiers did not match the argument order. Change-Id: Ib58892f4b0e09d7c3d3442a88f0bda98ea4b54b9 --- src/gmxlib/gmx_detect_hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.22.0