--- eject-2.0.13deb.orig/volname.c +++ eject-2.0.13deb/volname.c @@ -22,7 +22,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ******************************************************************** * @@ -39,6 +39,7 @@ #include #include #include +#include int main(int argc, char *argv[]) { @@ -52,7 +53,7 @@ if (argc == 2) { device = argv[1]; } else if (argc == 1) { - device = DEFAULTDEVICE; + device = "/dev/" DEFAULTDEVICE; } else { fprintf(stderr, _("usage: volname []\n")); exit(1);