Changeset: 360feee2fcdb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/360feee2fcdb
Modified Files:
gdk/gdk_system.c
Branch: Dec2025
Log Message:
add missing %'s
diffs (12 lines):
diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -1257,7 +1257,7 @@ MT_check_nr_cores(void)
* word "max" followed by a number; the latter
* case is ignored by the fscanf not returning
* 2 */
- if (fscanf(f, SCNi32 " " SCNi32, "a, &period) == 2
&& period > 0) {
+ if (fscanf(f, "%" SCNi32 " %" SCNi32, "a, &period)
== 2 && period > 0) {
int ncpu = quota / period;
if (ncpu < ncpus)
ncpus = ncpu;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]