Print this page
10133 smatch fixes for usr/src/cmd/fs.d
@@ -22,10 +22,14 @@
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+
+/*
* Reparsed daemon
*/
#include <stdio.h>
#include <stdio_ext.h>
@@ -189,14 +193,15 @@
reparsed_door_res_t rpd_res;
memset(&rpd_res, 0, sizeof (reparsed_door_res_t));
rpd_res.res_status = error;
rpd_res.res_len = buflen;
- door_return((char *)&rpd_res, sizeof (reparsed_door_res_t), NULL, 0);
+ (void) door_return((char *)&rpd_res,
+ sizeof (reparsed_door_res_t), NULL, 0);
(void) door_return(NULL, 0, NULL, 0);
- /* NOTREACHED */
+ abort();
}
/*
* reparsed_doorfunc
*