Print this page
10887 Missing void cast in wcuwsrv()
@@ -20,10 +20,11 @@
*/
/*
* Copyright (c) 1987, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2019 Toomas Soome <tsoome@me.com>
+ * Copyright 2019 Joyent, Inc.
*/
/*
* "Workstation console" multiplexor driver for Sun.
*
@@ -509,11 +510,11 @@
* expire, current transmission to finish, output to be
* restarted, output to finish draining), don't grab anything
* new.
*/
if (pvc->vc_flags & (WCS_DELAY|WCS_BUSY|WCS_STOPPED)) {
- putbq(q, mp);
+ (void) putbq(q, mp);
return (0);
}
switch (mp->b_datap->db_type) {
default: /* drop unknown type */