Skip to content

Commit 56c3b5f

Browse files
committed
uksmstat: use proper run fscanf formatting
1 parent 969588d commit 56c3b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uksmstat/uksmstat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ int main(int argc, char **argv)
126126
}
127127
unsigned int run;
128128
errno = 0;
129-
fscanf(f, "%d", &run);
129+
fscanf(f, "%u", &run);
130130
if (0 != errno)
131131
{
132132
fprintf(stderr, "Unable to read value from run file\n");

0 commit comments

Comments
 (0)