diff options
Diffstat (limited to 'src/VBox/Additions/solaris/Mouse')
-rw-r--r-- | src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c | 2 | ||||
-rw-r--r-- | src/VBox/Additions/solaris/Mouse/vboxms.c | 16 | ||||
-rw-r--r-- | src/VBox/Additions/solaris/Mouse/vboxmslnk.c | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c b/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c index 65f09be5..1f60a8db 100644 --- a/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c +++ b/src/VBox/Additions/solaris/Mouse/testcase/tstVBoxMouse-solaris.c @@ -22,7 +22,7 @@ * You may elect to license modified versions of this file under the * terms and conditions of either the GPL or the CDDL or both. */ - + /****************************************************************************** * Header Files * ******************************************************************************/ diff --git a/src/VBox/Additions/solaris/Mouse/vboxms.c b/src/VBox/Additions/solaris/Mouse/vboxms.c index 3547520d..0768e8b7 100644 --- a/src/VBox/Additions/solaris/Mouse/vboxms.c +++ b/src/VBox/Additions/solaris/Mouse/vboxms.c @@ -117,7 +117,7 @@ static struct qinit g_vbmsSolRInit = NULL /* module statistics structure */ }; -/* +/* * winit: write queue structure for handling messages coming from above. Above * means user space applications: either Guest Additions user space tools or * applications reading pointer input. Messages from the last most likely pass @@ -511,7 +511,7 @@ int vbmsSolOpen(queue_t *pReadQueue, dev_t *pDev, int fFlag, int fMode, /** - * Notification callback, called when the VBoxGuest mouse pointer is moved. + * Notification callback, called when the VBoxGuest mouse pointer is moved. * We send a VUID event up to user space. We may send a miscalculated event * if a resolution change is half-way through, but that is pretty much to be * expected, so we won't worry about it. @@ -1091,7 +1091,7 @@ static int vbmsSolDispatchIOCtl(PVBMSSTATE pState, mblk_t *pMBlk) case VUIOC: { unsigned i; - + for (i = 0; i < RT_ELEMENTS(g_aVUIDIOCtlDescriptions); ++i) if (g_aVUIDIOCtlDescriptions[i].iCmd == iCmd) { @@ -1248,9 +1248,9 @@ int vbmsSolHandleTransparentIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, /* We only need state data if there is something to copy back. */ if (enmDirection == BOTH) pUserAddr = *(void **)pMBlk->b_cont->b_rptr; - mcopyin(pMBlk, pUserAddr /* state data */, cbCmd, NULL); - } - else if (enmDirection == OUT) + mcopyin(pMBlk, pUserAddr /* state data */, cbCmd, NULL); + } + else if (enmDirection == OUT) { mblk_t *pMBlkOut = allocb(cbCmd, BPRI_MED); void *pvData; @@ -1273,7 +1273,7 @@ int vbmsSolHandleTransparentIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, } return err; } - + /** * Helper for vbmsSolHandleIOCtl. This rather complicated-looking * code is basically the standard boilerplate for handling any streams IOCtl. @@ -1287,7 +1287,7 @@ static int vbmsSolHandleIStrIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, void *pvData = NULL; int err, rc = 0; size_t cbData = 0; - + LogFlowFunc(("iCmd=0x%x, cbBuffer=%u, b_cont=%p\n", (unsigned)iCmd, cbBuffer, (void *)pMBlk->b_cont)); if (cbBuffer && !pMBlk->b_cont) diff --git a/src/VBox/Additions/solaris/Mouse/vboxmslnk.c b/src/VBox/Additions/solaris/Mouse/vboxmslnk.c index f2f3a740..a1fdde87 100644 --- a/src/VBox/Additions/solaris/Mouse/vboxmslnk.c +++ b/src/VBox/Additions/solaris/Mouse/vboxmslnk.c @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) void handleArgs(int argc, char *argv[], int *pfNoLogo) { int fNoLogo = 0, fShowUsage = 0, fShowVersion = 0; - + if (argc != 1 && argc != 2) fShowUsage = 1; if (argc == 2) |