summaryrefslogtreecommitdiff
path: root/mkbootfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-04-28 19:20:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-04-28 19:20:23 +0000
commit7ff16de5054bc1c78ae008adeb7b6a28d92e63ef (patch)
tree533d5cf619a1a9e7436cbfa8e85f119050a8c93e /mkbootfs
parent35a428ea8faa67d0f9142f7cfe944c03ace830d7 (diff)
Formerly mkbootfs.c.~2~
Diffstat (limited to 'mkbootfs')
-rw-r--r--mkbootfs/mkbootfs.c18
1 files 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);
+ }
+
+