Index: uspace/lib/c/generic/io/io.c
===================================================================
--- uspace/lib/c/generic/io/io.c	(revision ebcb05a569ef3a706553a41bd6a44277cc63277f)
+++ uspace/lib/c/generic/io/io.c	(revision ce8f4f447a7e1abe7fa084ed0f030d495f17524c)
@@ -173,4 +173,5 @@
 		}
 		*flags = (O_APPEND | O_CREAT) | (plus ? O_RDWR : O_WRONLY);
+		break;
 	default:
 		errno = EINVAL;
