summaryrefslogtreecommitdiff
path: root/cmd/srv9p/static9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/srv9p/static9p.c')
-rw-r--r--cmd/srv9p/static9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/srv9p/static9p.c b/cmd/srv9p/static9p.c
index 47c07be..a5b4492 100644
--- a/cmd/srv9p/static9p.c
+++ b/cmd/srv9p/static9p.c
@@ -168,7 +168,7 @@ struct lib9p_srv_file_vtable static_dir_vtable = {
static inline size_t static_file_size(struct static_file *file) {
assert(file);
-#if __x86_64__
+#if __unix__
assert(file->data_start);
#endif
if (!file->data_end)