From 7ff16de5054bc1c78ae008adeb7b6a28d92e63ef Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 28 Apr 1993 19:20:23 +0000 Subject: Formerly mkbootfs.c.~2~ --- mkbootfs/mkbootfs.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/mkbootfs/mkbootfs.c b/mkbootfs/mkbootfs.c index 22c8f647..75e1523e 100644 --- a/mkbootfs/mkbootfs.c +++ b/mkbootfs/mkbootfs.c @@ -39,5 +39,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ main (int argc, char **argv) { - if (argc != - + int execserver; + + if (argc != 2) + { + fprintf (stderr, "Usage: %s execserver\n", argv[0]); + exit (1); + } + + execserver = open (argv[1]); + if (execserver == -1) + { + perror (argv[1]); + exit (1); + } + + -- cgit v1.2.3