Subject: CVS commit: src/sbin/mount_portal
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/21/2006 21:34:01
Module Name: src
Committed By: christos
Date: Tue Mar 21 21:34:01 UTC 2006
Modified Files:
src/sbin/mount_portal: pt_filter.c
Log Message:
Coverity CID 782: Don't dereference NULL was not going to happen, but:
1. return error instead of the trashed errno.
2. don't return -1, but return ENAMETOOLONG.
3. eliminate unused code.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sbin/mount_portal/pt_filter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.