Browse Source

label a switch fallthrough

OPENBSD_3_7
deraadt 20 years ago
parent
commit
a088bfecd9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lib/libutil/readlabel.c

+ 2
- 1
src/lib/libutil/readlabel.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: readlabel.c,v 1.8 2004/05/28 07:03:47 deraadt Exp $ */
/* $OpenBSD: readlabel.c,v 1.9 2004/09/18 19:24:14 deraadt Exp $ */
/*
* Copyright (c) 1996, Jason Downs. All rights reserved.
@ -80,6 +80,7 @@ readlabelfs(char *device, int verbose)
rpath[strlen(rpath) - 1] = 'a' + getrawpartition();
break;
}
/* FALLTHROUGH */
default:
if (verbose)
warnx("%s: not a device node", device);


Loading…
Cancel
Save