diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-09-21 12:38:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-21 19:16:29 -0400 |
commit | 36decba90b184a25b7f77fb7df1612125cc41ac5 (patch) | |
tree | adaf26bbb1306a0d3b52c983b9fa9e5b57b780a5 /arch | |
parent | 76629ac154aacfec8883954c3ff9871905d2fb8e (diff) |
[PATCH] uml: fix modify_ldt - missing break in switch
I am a lamer :-(. Luckily, Luo Xin performed LTP testing and found this failure.
Btw, the fact that the patch in which I introduced this was merged shows that:
a) I'm really trusted by people
b) sometimes they're wrong about point a).
c) lack of time for reviewers.
CC: Luo Xin <luothing@sina.com>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/sys-i386/ldt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c index bd3c34aa52e5..36b5c2c13289 100644 --- a/arch/um/sys-i386/ldt.c +++ b/arch/um/sys-i386/ldt.c | |||
@@ -83,6 +83,7 @@ int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount) | |||
83 | goto out; | 83 | goto out; |
84 | } | 84 | } |
85 | p = buf; | 85 | p = buf; |
86 | break; | ||
86 | default: | 87 | default: |
87 | res = -ENOSYS; | 88 | res = -ENOSYS; |
88 | goto out; | 89 | goto out; |