|
@@ -203,7 +203,7 @@ static void mfd_fail_open(int fd, int flags, mode_t mode)
|
|
sprintf(buf, "/proc/self/fd/%d", fd);
|
|
sprintf(buf, "/proc/self/fd/%d", fd);
|
|
r = open(buf, flags, mode);
|
|
r = open(buf, flags, mode);
|
|
if (r >= 0) {
|
|
if (r >= 0) {
|
|
- printf("open(%s) didn't fail as expected\n");
|
|
|
|
|
|
+ printf("open(%s) didn't fail as expected\n", buf);
|
|
abort();
|
|
abort();
|
|
}
|
|
}
|
|
}
|
|
}
|