Skip to content

Commit ebe5a39

Browse files
committed
Fix some log of syscall.
1 parent 751644a commit ebe5a39

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

adapter/syscall/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ CFLAGS += -fPIC -Wall -Werror $(shell $(PKGCONF) --cflags libdpdk)
8383
INCLUDES= -I. -I${FF_PATH}/lib
8484

8585
LIBS+= -Wl,--no-whole-archive -lrt -lm -ldl -lcrypto -pthread -lnuma
86+
#LIBS+= -lmnl -lmlx5 -libverbs
8687
FF_LIBS= -L${FF_PATH}/lib -Wl,--whole-archive,-lfstack,--no-whole-archive
8788

8889
DPDK_LIBS+= $(shell $(PKGCONF) --static --libs libdpdk)

adapter/syscall/main_stack_epoll_kernel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ int main(int argc, char * argv[])
220220
ev.events = EPOLLIN;
221221
ret = epoll_ctl(epfd, EPOLL_CTL_ADD, sockfd, &ev);
222222
if (ret < 0) {
223-
printf("ff_listen failed\n");
223+
printf("ff_epoll_ctl failed\n");
224224
close(epfd);
225225
close(sockfd);
226226
close(sockfd_kernel);
@@ -230,7 +230,7 @@ int main(int argc, char * argv[])
230230
ev.events = EPOLLIN;
231231
ret = epoll_ctl(epfd, EPOLL_CTL_ADD, sockfd_kernel, &ev);
232232
if (ret < 0) {
233-
printf("ff_listen failed\n");
233+
printf("ff_epoll_ctl failed\n");
234234
close(epfd);
235235
close(sockfd);
236236
close(sockfd_kernel);

0 commit comments

Comments
 (0)