diff options
Diffstat (limited to 'coreutils/comm.c')
-rw-r--r-- | coreutils/comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/comm.c b/coreutils/comm.c index d3ca9c1b7..772dafc4d 100644 --- a/coreutils/comm.c +++ b/coreutils/comm.c | |||
@@ -71,7 +71,7 @@ static void cmp_files(char **infiles) | |||
71 | int i; | 71 | int i; |
72 | 72 | ||
73 | for (i = 0; i < 2; ++i) { | 73 | for (i = 0; i < 2; ++i) { |
74 | streams[i] = ((infiles[i][0] == '=' && infiles[1][1]) ? stdin : bb_xfopen(infiles[i], "r")); | 74 | streams[i] = ((infiles[i][0] == '=' && infiles[i][1]) ? stdin : bb_xfopen(infiles[i], "r")); |
75 | fgets(thisline[i], LINE_LEN, streams[i]); | 75 | fgets(thisline[i], LINE_LEN, streams[i]); |
76 | } | 76 | } |
77 | 77 | ||