lib9p: fix compilation errors in example server

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D58634
This commit is contained in:
Nimish Jain authored and Mark Johnston committed 2026-08-05 13:09:08 +00:00
1 parent 3c8f8432b6
commit e6b038456b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -5,6 +5,6 @@ MAN=
CFLAGS= -pthread -g -O0
LDFLAGS=-L..
LDADD= -lsbuf -l9p -lcasper -lcap_pwd -lcap_grp
LIBADD+=sbuf 9p casper cap_pwd cap_grp
.include <bsd.prog.mk>
+2 -2
View File
@@ -39,8 +39,8 @@ main(int argc, char **argv)
{
struct l9p_backend *fs_backend;
struct l9p_server *server;
char *host = "0.0.0.0";
char *port = "564";
const char *host = "0.0.0.0";
const char *port = "564";
char *path;
bool ro = false;
int rootfd;