Removed closing PHP tags, replaced with a comment block identifying the end of the file
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php
index dd60a56..ee18392 100644
--- a/system/libraries/User_agent.php
+++ b/system/libraries/User_agent.php
@@ -497,4 +497,6 @@
 	

 }

 

-?>
\ No newline at end of file
+
+/* End of file User_agent.php */
+/* Location: ./system/libraries/User_agent.php */
\ No newline at end of file