projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use STREQ rather than strcmp
[platform/upstream/coreutils.git]
/
src
/
head.c
diff --git
a/src/head.c
b/src/head.c
index
42f76e4
..
3052df1
100644
(file)
--- a/
src/head.c
+++ b/
src/head.c
@@
-184,7
+184,7
@@
head_file (const char *filename, U_LONG_LONG n_units, int count_lines)
{
int fd;
- if (
!strcmp
(filename, "-"))
+ if (
STREQ
(filename, "-"))
{
have_read_stdin = 1;
filename = _("standard input");