From 6e093662571195dbca8ba13027beeeb4afe88de6 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Wed, 30 Oct 2019 12:44:31 -0400
Subject: [PATCH] DRTVWR-476: Update llviewerjoystick.cpp for updated
 libndofdev API.

---
 indra/newview/llviewerjoystick.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/indra/newview/llviewerjoystick.cpp b/indra/newview/llviewerjoystick.cpp
index 320bd04fe89..3d06c950808 100644
--- a/indra/newview/llviewerjoystick.cpp
+++ b/indra/newview/llviewerjoystick.cpp
@@ -145,7 +145,7 @@ NDOF_HotPlugResult LLViewerJoystick::HotPlugAddCallback(NDOF_Device *dev)
 	if (joystick->mDriverState == JDS_UNINITIALIZED)
 	{
 		LL_INFOS("joystick") << "HotPlugAddCallback: will use device:" << LL_ENDL;
-		ndof_dump(dev);
+		ndof_dump(stderr, dev);
 		joystick->mNdofDev = dev;
 		joystick->mDriverState = JDS_INITIALIZED;
 		res = NDOF_KEEP_HOTPLUGGED;
@@ -164,7 +164,7 @@ void LLViewerJoystick::HotPlugRemovalCallback(NDOF_Device *dev)
 	{
 		LL_INFOS("joystick") << "HotPlugRemovalCallback: joystick->mNdofDev=" 
 				<< joystick->mNdofDev << "; removed device:" << LL_ENDL;
-		ndof_dump(dev);
+		ndof_dump(stderr, dev);
 		joystick->mDriverState = JDS_UNINITIALIZED;
 	}
 	joystick->updateEnabled(true);
@@ -255,7 +255,7 @@ void LLViewerJoystick::init(bool autoenable)
 			{
 				mDriverState = JDS_UNINITIALIZED;
 				LL_WARNS("joystick") << "ndof_init_first FAILED" << LL_ENDL;
-				ndof_dump_list();
+				ndof_dump_list(stderr);
 			}
 			else
 			{
-- 
GitLab