aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/strings.c')
-rw-r--r--toys/posix/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/strings.c b/toys/posix/strings.c
index 911fc452..e33ae960 100644
--- a/toys/posix/strings.c
+++ b/toys/posix/strings.c
@@ -32,13 +32,13 @@ config STRINGS
#include "toys.h"
GLOBALS(
- long num;
+ long n;
char *t;
)
static void do_strings(int fd, char *filename)
{
- int nread, i, wlen = TT.num, count = 0;
+ int nread, i, wlen = TT.n, count = 0;
off_t offset = 0;
char *string = 0, pattern[8];