diff options
| author | bluhm <> | 2017-07-27 15:08:37 +0000 |
|---|---|---|
| committer | bluhm <> | 2017-07-27 15:08:37 +0000 |
| commit | df100d999bc39b918f3da6af11f1fe9735b6dc08 (patch) | |
| tree | 89e09dfbfdac2ef16a8ad344d3ff3c26ee183636 /src/regress/lib/libc/telldir | |
| parent | 75268dd07edc0bae138d0f843c90e6c9cd700683 (diff) | |
| download | openbsd-df100d999bc39b918f3da6af11f1fe9735b6dc08.tar.gz openbsd-df100d999bc39b918f3da6af11f1fe9735b6dc08.tar.bz2 openbsd-df100d999bc39b918f3da6af11f1fe9735b6dc08.zip | |
Fix all clang warnings in libc regress and cleanup some make files.
Diffstat (limited to 'src/regress/lib/libc/telldir')
| -rw-r--r-- | src/regress/lib/libc/telldir/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/telldir/utils.c b/src/regress/lib/libc/telldir/utils.c index 6a4101aba3..7fb0401d70 100644 --- a/src/regress/lib/libc/telldir/utils.c +++ b/src/regress/lib/libc/telldir/utils.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: utils.c,v 1.1 2013/11/03 00:20:24 schwarze Exp $ */ | 1 | /* $OpenBSD: utils.c,v 1.2 2017/07/27 15:08:37 bluhm Exp $ */ |
| 2 | 2 | ||
| 3 | /* Written by Otto Moerbeek, 2006, Public domain. */ | 3 | /* Written by Otto Moerbeek, 2006, Public domain. */ |
| 4 | 4 | ||
| @@ -39,7 +39,7 @@ delfiles(void) | |||
| 39 | dp = opendir("d"); | 39 | dp = opendir("d"); |
| 40 | if (dp == NULL) | 40 | if (dp == NULL) |
| 41 | err(1, "opendir"); | 41 | err(1, "opendir"); |
| 42 | while (f = readdir(dp)) { | 42 | while ((f = readdir(dp))) { |
| 43 | if (strcmp(f->d_name, ".") == 0 || | 43 | if (strcmp(f->d_name, ".") == 0 || |
| 44 | strcmp(f->d_name, "..") == 0) | 44 | strcmp(f->d_name, "..") == 0) |
| 45 | continue; | 45 | continue; |
