From f635dcb5f3f4d65b45126a857ccd150ec0f5bed6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 8 Mar 2006 06:32:26 +0000 Subject: r14018: Coverity error CID #27. Missing return -1 on error condition. Jeremy. (This used to be commit 94e869d9c6d1a1c1df0d072530bf8d4452bd10bb) --- source3/param/loadparm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8b79ec37d7..2f100b303c 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4534,6 +4534,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i if (lines == NULL) { DEBUG(0,("process_usershare_file: loading file %s owned by %u failed.\n", fname, (unsigned int)sbuf.st_uid )); + return -1; } /* Should we allow printers to be shared... ? */ -- cgit