Skip to content

Commit 7d0543c

Browse files
committed
minor - another small tidy fix
1 parent 3b9caef commit 7d0543c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/ceed-jit-tools.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int CeedLoadSourceToInitializedBuffer(Ceed ceed, const char *source_file_path, C
137137
// -- Compute size of source
138138
fseek(source_file, 0L, SEEK_END);
139139
file_size = ftell(source_file);
140-
rewind(source_file);
140+
fseek(source_file, 0L, SEEK_SET);
141141
// -- Allocate memory for entire source file
142142
{
143143
const int ierr = CeedCalloc(file_size + 1, &temp_buffer);

0 commit comments

Comments
 (0)