aboutsummaryrefslogtreecommitdiff
path: root/miscutils/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 612937556..193929c8e 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -204,7 +204,7 @@ int dc_main(int argc ATTRIBUTE_UNUSED, char **argv)
204 char *line; 204 char *line;
205 char *cursor; 205 char *cursor;
206 char *token; 206 char *token;
207 while ((line = xmalloc_getline(stdin)) != NULL) { 207 while ((line = xmalloc_fgetline(stdin)) != NULL) {
208 cursor = line; 208 cursor = line;
209 while (1) { 209 while (1) {
210 token = get_token(&cursor); 210 token = get_token(&cursor);