summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-06-03 18:18:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-06-03 18:18:24 +0000
commita81e6e68cc8ef18fbed6c9885d694cd0bf4dc259 (patch)
tree065f0c48ce2ca269e194ba801fbbaa3ae7ea59cc /lib/libc/gen
parentfcd184b84e4d304da035d3702d7713cfdca9babd (diff)
Ensure there is a statement after a label.
ok deraadt@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/fstab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/fstab.c b/lib/libc/gen/fstab.c
index ad7a2515276..93cd6da34cc 100644
--- a/lib/libc/gen/fstab.c
+++ b/lib/libc/gen/fstab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fstab.c,v 1.17 2009/04/29 19:06:07 deraadt Exp $ */
+/* $OpenBSD: fstab.c,v 1.18 2009/06/03 18:18:23 jsg Exp $ */
/*
* Copyright (c) 1980, 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -146,6 +146,7 @@ fstabscan(void)
return(1);
bad: /* We silently ignore all bogus lines */
+ ;
}
/* NOTREACHED */
}