biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix incorrect gmx_fatal argument order
[alexxy/gromacs.git]
/
src
/
gmxlib
/
gmx_detect_hardware.c
diff --git
a/src/gmxlib/gmx_detect_hardware.c
b/src/gmxlib/gmx_detect_hardware.c
index e4fef1fe00021f3d7d061d016d0a5edd431b20ed..ad3dd9488a4e661d0254acea985ee7a9873b6715 100644
(file)
--- 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",
- i
nvalid_gpuid_hint, idstr[i]
);
+ i
dstr[i], invalid_gpuid_hint
);
}
idlist[i] = idstr[i] - '0';
}