summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshell/common/sh/xec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libshell/common/sh/xec.c')
-rw-r--r--usr/src/lib/libshell/common/sh/xec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/libshell/common/sh/xec.c b/usr/src/lib/libshell/common/sh/xec.c
index afceb6a355..3975060421 100644
--- a/usr/src/lib/libshell/common/sh/xec.c
+++ b/usr/src/lib/libshell/common/sh/xec.c
@@ -1160,6 +1160,7 @@ int sh_exec(register const Shnode_t *t, int flags)
break;
}
}
+ /* FALLTHROUGH */
case TFORK:
{
register pid_t parent;
@@ -1373,6 +1374,7 @@ int sh_exec(register const Shnode_t *t, int flags)
sh_done(shp,0);
}
}
+ /* FALLTHROUGH */
case TSETIO:
{
@@ -3223,6 +3225,7 @@ static pid_t sh_ntfork(Shell_t *shp,const Shnode_t *t,char *argv[],int *jobid,in
{
case ENOENT:
errormsg(SH_DICT,ERROR_system(ERROR_NOENT),e_found+4);
+ /* FALLTHROUGH */
default:
errormsg(SH_DICT,ERROR_system(ERROR_NOEXEC),e_exec+4);
}