Skip to content

Commit 49837bc

Browse files
committed
Fix error with extra parentheses
1 parent 56e4a31 commit 49837bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bncsutil/file.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ file_t file_open(const char* filename, unsigned int mode_flags)
211211
data = new _file;
212212
} catch (std::bad_alloc) {
213213
bncsutil_debug_message_a("Failed to allocate %u bytes to hold"
214-
"file structure."), sizeof(struct _file));
214+
"file structure.", sizeof(struct _file));
215215
fclose(f);
216216
return (file_t) 0;
217217
}
@@ -221,7 +221,7 @@ file_t file_open(const char* filename, unsigned int mode_flags)
221221
if (!data->filename) {
222222
err = sys_error_msg();
223223
bncsutil_debug_message_a("Failed to allocate %u bytes to hold"
224-
"filename; %s"), filename_buf_len);
224+
"filename; %s", filename_buf_len);
225225
free_sys_error_msg(err);
226226
fclose(f);
227227
delete data;

0 commit comments

Comments
 (0)