diff options
author | Roland McGrath <roland@gnu.org> | 1998-10-24 07:52:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-10-24 07:52:50 +0000 |
commit | 85ad884eb2f48a2e3b259b15fe1d7cb675cb2270 (patch) | |
tree | 96efee233817b605966d09954a30961617332089 /libdiskfs/opts-std-runtime.c | |
parent | 7493bdb9b7ab8f7f4f97e0a0b7dbf218a862e1bb (diff) | |
download | hurd-85ad884eb2f48a2e3b259b15fe1d7cb675cb2270.tar.gz hurd-85ad884eb2f48a2e3b259b15fe1d7cb675cb2270.tar.bz2 hurd-85ad884eb2f48a2e3b259b15fe1d7cb675cb2270.zip |
1998-10-20 Roland McGrath <roland@baalperazim.frob.com>
* dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc
warning.
* io-identity.c (diskfs_S_io_identity): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-std-runtime.c (set_opts): Likewise.
Diffstat (limited to 'libdiskfs/opts-std-runtime.c')
-rw-r--r-- | libdiskfs/opts-std-runtime.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libdiskfs/opts-std-runtime.c b/libdiskfs/opts-std-runtime.c index dfa440cd..a59e95e0 100644 --- a/libdiskfs/opts-std-runtime.c +++ b/libdiskfs/opts-std-runtime.c @@ -1,6 +1,6 @@ /* Parse standard run-time options - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -58,10 +58,12 @@ set_opts (struct parse_hook *h) } if (h->readonly != diskfs_readonly) - if (err) - diskfs_set_readonly (h->readonly); /* keep the old error. */ - else - err = diskfs_set_readonly (h->readonly); + { + if (err) + diskfs_set_readonly (h->readonly); /* keep the old error. */ + else + err = diskfs_set_readonly (h->readonly); + } /* Change sync mode. */ if (h->sync) |