From 151d9912de07cf0913518c9b7afcd7c6148913c5 Mon Sep 17 00:00:00 2001
From: Ingo Ruhnke <grumbel@gmx.de>
Date: Wed, 26 May 2010 13:29:47 +0200
Subject: [PATCH] Output cleanup

---
 src/linux_uinput.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux_uinput.cpp b/src/linux_uinput.cpp
index aeb40fa..678afbc 100644
--- a/src/linux_uinput.cpp
+++ b/src/linux_uinput.cpp
@@ -195,7 +195,7 @@ LinuxUinput::finish()
   //std::cout << "Finalizing uinput: '" << user_dev.name << "'" << std::endl;
 
   if (write(fd, &user_dev, sizeof(user_dev)) < 0)
-    throw std::runtime_error("uinput:finish: " + name + strerror(errno));
+    throw std::runtime_error("uinput:finish: " + name + ": " + strerror(errno));
 
   if (ioctl(fd, UI_DEV_CREATE))
   {