summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-09-22 18:19:43 +0000
committerMiles Bader <miles@gnu.org>1997-09-22 18:19:43 +0000
commit93da6842a0239b760dab26429fa53d44d8441be7 (patch)
tree4ef7217ad9f2c4c7a67be9c2dab2f194c6f9d362
parent91c139ebd2daaf1eea4eaa4f611923179d3ab6ee (diff)
(diskfs_append_args):
New function.
-rw-r--r--isofs/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/isofs/main.c b/isofs/main.c
index dcefd51d..caaf38bb 100644
--- a/isofs/main.c
+++ b/isofs/main.c
@@ -105,7 +105,22 @@ read_sblock ()
/* Parse some important bits of this */
logical_block_size = isonum_723 (sblock->blksize);
}
+
+/* Override the standard diskfs routine so we can add our own output. */
+error_t
+diskfs_append_args (char **argz, unsigned *argz_len)
+{
+ error_t err;
+ /* Get the standard things. */
+ err = diskfs_append_std_options (argz, argz_len);
+
+ if (! err)
+ err = store_parsed_append_args (store_parsed, argz, argz_len);
+
+ return err;
+}
+
int
main (int argc, char **argv)
{