about summary refs log tree commit diff
path: root/src/gen.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gen.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen.zig b/src/gen.zig
index 0504d39..a02503b 100644
--- a/src/gen.zig
+++ b/src/gen.zig
@@ -109,7 +109,7 @@ fn genSite(ctx: *Context) !void {
 
 // build a single html file
 fn build(allocator: std.mem.Allocator, w: std.io.AnyWriter, page_name: []const u8, srcpath: []const u8) !void {
-    const mtime = try fs.getMtime(allocator, srcpath);
+    const mtime = try fs.getMtime(srcpath);
     const mtime_str = try fs.formatMtime(allocator, mtime, "%F");
     defer allocator.free(mtime_str);