input: Fix compiler warning from wrong array size
diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index dab385f..d9ed806 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -998,7 +998,8 @@
 		return;
 	}
 
-	strncpy((char *) ev.u.create.name, hog->name, sizeof(ev.u.create.name));
+	strncpy((char *) ev.u.create.name, hog->name,
+						sizeof(ev.u.create.name) - 1);
 	ev.u.create.vendor = hog->vendor;
 	ev.u.create.product = hog->product;
 	ev.u.create.version = hog->version;