From 6661d421663e5ad70c6d314dc9e0c97c061f4650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 7 Sep 2005 18:30:40 +0000 Subject: [PATCH] added eject git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14127 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- makehdimage | 2 +- src/bin/eject.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/makehdimage b/makehdimage index 8a94e0bb2f..a91f39d551 100755 --- a/makehdimage +++ b/makehdimage @@ -118,7 +118,7 @@ BEOS_BIN="touch sync ln listarea listattr listsem listport \ strace rmdir error ifconfig ping traceroute arp pppconfig \ ppp_up gdb tail head zip unzip mountvolume top finddir groups \ id env basename factor tty dstcheck comm modifiers version \ - csplit cut beep screen_blanker play" + csplit cut beep screen_blanker play eject" BEOS_APPS="MiniTerminal Terminal Expander People ShowImage Clock Pulse Playground \ SoundRecorder BitmapDrawing Magnify DiskProbe AboutHaiku StyledEdit" diff --git a/src/bin/eject.c b/src/bin/eject.c index 7d7f7030eb..4ffb47613f 100644 --- a/src/bin/eject.c +++ b/src/bin/eject.c @@ -63,7 +63,10 @@ int main(int argc, char **argv) } if (device == NULL) return do_eject(operation, "/dev/disk/floppy/raw"); + return 0; } + + static int do_eject(char operation, char *device) { bool bval;