Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source add breaks for done() since it might not...
details: https://anonhg.NetBSD.org/src/rev/c2f44967a438
branches: trunk
changeset: 448943:c2f44967a438
user: christos <christos%NetBSD.org@localhost>
date: Thu Feb 14 20:19:51 2019 +0000
description:
add breaks for done() since it might not be __dead.
diffstat:
usr.sbin/sup/source/supcmeat.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r b7526f32eb9f -r c2f44967a438 usr.sbin/sup/source/supcmeat.c
--- a/usr.sbin/sup/source/supcmeat.c Thu Feb 14 20:09:40 2019 +0000
+++ b/usr.sbin/sup/source/supcmeat.c Thu Feb 14 20:19:51 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: supcmeat.c,v 1.42 2013/04/09 16:39:20 christos Exp $ */
+/* $NetBSD: supcmeat.c,v 1.43 2019/02/14 20:19:51 christos Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -371,17 +371,21 @@
case FSETUPSAME:
notify(1, "Attempt to upgrade from same host to same directory");
done(FDONESRVERROR, "Overwrite error");
+ break;
case FSETUPHOST:
notify(1, "This host has no permission to access %s",
collname);
done(FDONESRVERROR, "Permission denied");
+ break;
case FSETUPOLD:
notify(1, "This version of SUP is too old for the fileserver");
done(FDONESRVERROR, "Obsolete client");
+ break;
case FSETUPRELEASE:
notify(1, "Invalid release %s for collection %s",
release == NULL ? DEFRELEASE : release, collname);
done(FDONESRVERROR, "Invalid release");
+ break;
case FSETUPBUSY:
vnotify(0, "Fileserver is currently busy");
t->Tmode = SCMOK;
Home |
Main Index |
Thread Index |
Old Index