diff options
author | Miles Bader <miles@gnu.org> | 1996-06-25 18:02:37 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-06-25 18:02:37 +0000 |
commit | e12000b1a644af07787a136a89680b1259e974d0 (patch) | |
tree | 4af82ef39bf50ab2a5ec65e39f684f1f6f6a1d7f | |
parent | 039a88b329122f3f4d5e29f2bf59e77d80a04426 (diff) |
(diskfs_get_options): Include `--compat=' in options.
-rw-r--r-- | ufs/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -136,8 +136,11 @@ diskfs_get_options (char **argz, unsigned *argz_len) if (!err && compat_mode != COMPAT_GNU) { - char *mode = (compat_mode == COMPAT_BSD42) ? "4.2" : "4.4"; - err = argz_add (argz, argz_len, mode); + err = + argz_add (argz, argz_len, + ((compat_mode == COMPAT_BSD42) + ? "--compat=4.2" + : "--compat=4.4")); if (err) free (argz); /* Deallocate what diskfs returned. */ } |