diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-24 17:28:19 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-24 17:28:19 -0500 |
commit | 0672e13367c4347a7a13577b460d042b232be5c1 (patch) | |
tree | d3ca3613f47eaa87d27be8573a3b4eac3182dc5c /gpsd.c | |
parent | 7d06e770d5f4f8e903a5720a924a93901a140a69 (diff) | |
download | gpsd-0672e13367c4347a7a13577b460d042b232be5c1.tar.gz |
splint fixups - no logic changes.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2047,10 +2047,12 @@ int main(int argc, char *argv[]) * of any compromises in the code. It requires that all GPS * devices have their group read/write permissions set. */ + /*@-nullpass@*/ if (setgroups(0, NULL) != 0) gpsd_report(context.debug, LOG_ERROR, "setgroups() failed, errno %s\n", strerror(errno)); + /*@+nullpass@*/ /*@-type@*/ #ifdef GPSD_GROUP { |