Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-z committed Nov 21, 2024
1 parent 05ea176 commit 0796bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bofs/src/_debug_entry.zig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn main() !void {

if (context.getOutput()) |output| {
std.debug.print("==========================================\n", .{});
std.debug.print("{s}", .{output});
std.debug.print("{s}\n", .{output});
std.debug.print("==========================================\n", .{});
}

Expand Down
2 changes: 1 addition & 1 deletion bofs/src/simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ unsigned char go(unsigned char* arg_data, int arg_len) {
char* buffer = malloc(123);
buffer[0] = 'x';
buffer[1] = 0;
BeaconOutput(0, buffer, 10);
BeaconOutput(0, buffer, 2);
free(buffer);
return 0;
}

0 comments on commit 0796bcf

Please sign in to comment.