diff --git a/bofs/src/_debug_entry.zig b/bofs/src/_debug_entry.zig index 386ea2a..743c62c 100644 --- a/bofs/src/_debug_entry.zig +++ b/bofs/src/_debug_entry.zig @@ -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", .{}); } diff --git a/bofs/src/simple.c b/bofs/src/simple.c index 68880c6..238c417 100644 --- a/bofs/src/simple.c +++ b/bofs/src/simple.c @@ -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; }