diff options
Diffstat (limited to 'tests/df/no-mtab-status.sh')
| -rwxr-xr-x | tests/df/no-mtab-status.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index 47105a13a..0c2e8982d 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -39,8 +39,6 @@ cat > k.c <<EOF || framework_failure_ #include <stdarg.h> #include <dlfcn.h> -#define STREQ(a, b) (strcmp (a, b) == 0) - int open(const char *path, int flags, ...) { static int (*open_func)(const char *, int, ...); @@ -67,7 +65,7 @@ int open(const char *path, int flags, ...) /* Returning ENOENT here will get read_file_system_list() to fall back to using getmntent() below. */ - if (STREQ (path, "/proc/self/mountinfo")) + if (streq (path, "/proc/self/mountinfo")) { errno = ENOENT; return -1; |
