summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libcsupport/src/pwdgrp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/pwdgrp.c b/cpukit/libcsupport/src/pwdgrp.c
index 154a92a11a..aac31f4988 100644
--- a/cpukit/libcsupport/src/pwdgrp.c
+++ b/cpukit/libcsupport/src/pwdgrp.c
@@ -71,9 +71,7 @@ static void pwdgrp_init(void)
* /etc could be created by the network stack initialization or an initial
* filesystem image. Deliberately ignore the return value.
*/
- sc = mkdir("/etc", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
- _Assert((sc == 0) || (sc == -1 && errno == EEXIST));
- (void) sc;
+ (void) mkdir("/etc", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
/*
* Initialize /etc/passwd