File pbbuttonsd-0.5.11-eject.patch of Package pbbuttonsd

--- pbbuttonsd-0.8.1/src/module_cdrom.c
+++ pbbuttonsd-0.8.1/src/module_cdrom.c
@@ -303,9 +303,9 @@
 
 	singletag_to_clients(CHANGEVALUE, TAG_EJECTCD, 0); /* busy */
 	if ((mp = cdrom_getmountpoint(base->cdromdev))) {
-		err = call_script ("/usr/bin/eject %.30s", mp);
+		err = call_script ("/usr/bin/eject %s", mp);
 		if (err)
-		    err = call_script ("/bin/umount %.30s", mp);
+		    err = call_script ("/bin/umount %s", mp);
 	}
 
 #if defined(DEBUG) && CDROM