From 65f591895c8f57024750a7c8c029a04cccac16f0 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 23 Oct 2001 22:13:25 +0000 Subject: Don't get stuck in an infinite loop in vfs_connect. (This used to be commit 69275e4f0f502f07ceb37f274d01450d639ba23f) --- examples/VFS/audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/VFS/audit.c b/examples/VFS/audit.c index cee410db84..dcc288fc97 100644 --- a/examples/VFS/audit.c +++ b/examples/VFS/audit.c @@ -56,7 +56,7 @@ static int audit_connect(struct connection_struct *conn, const char *svc, syslog(SYSLOG_PRIORITY, "connect to service %s by user %s\n", svc, user); - return global_vfs_ops->connect(conn, svc, user); + return 0; /* Success */ } static void audit_disconnect(struct connection_struct *conn) -- cgit