diff options
| author | rsc <devnull@localhost> | 2007-04-21 19:40:55 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2007-04-21 19:40:55 +0000 |
| commit | 27d28098203579f0735ba6400641e9be94eb12f8 (patch) | |
| tree | 9e0f390ced0de8c582ef3226c420daa18d16ac24 /src/cmd/venti/srv/checkindex.c | |
| parent | 33433b3fde56d9b3ac6de6ee2584416b82bc856f (diff) | |
| download | plan9port-27d28098203579f0735ba6400641e9be94eb12f8.tar.gz plan9port-27d28098203579f0735ba6400641e9be94eb12f8.zip | |
sync with mit plan 9 version
Diffstat (limited to 'src/cmd/venti/srv/checkindex.c')
| -rw-r--r-- | src/cmd/venti/srv/checkindex.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cmd/venti/srv/checkindex.c b/src/cmd/venti/srv/checkindex.c index 7639b2ca..ef0e4ec9 100644 --- a/src/cmd/venti/srv/checkindex.c +++ b/src/cmd/venti/srv/checkindex.c @@ -116,8 +116,7 @@ u64int found = 0; if(b == nil || z == nil || ies == nil){ werrstr("allocating: %r"); ok = -1; - goto breakout; - return -1; + goto out; } ok = 0; next = 0; @@ -138,7 +137,7 @@ u64int found = 0; } if(ok < 0) werrstr("%d spurious entries, %d missing, %d wrong", extra, missing, wrong); - goto breakout; + goto out; } bok = checkbucket(ix, next, &zib); if(bok < 0) @@ -150,14 +149,14 @@ u64int found = 0; break; werrstr("internal error: bucket out of range"); ok = -1; - goto breakout; + goto out; } bok = checkbucket(ix, buck, &ib); if(bok < 0) ok = -1; next = buck + 1; } -breakout: +out: freeiestream(ies); freezblock(z); freezblock(b); |
