From 69275e4f0f502f07ceb37f274d01450d639ba23f 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. --- 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 cee410db84b..dcc288fc97d 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