From 6cc6726370454e345a800fc1fff29535fb0f1239 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 16 Dec 2006 17:36:25 +0000 Subject: typo --- watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch.c b/watch.c index 3e10711..aa4d38b 100644 --- a/watch.c +++ b/watch.c @@ -38,7 +38,7 @@ static const char version[] = "1.0"; #ifndef __dead #define __dead __attribute__((noreturn)) #endif -#define strlcpy(d,s,l) (strncpy(d,s,l), (d)[(l)-1 = '\0') +#define strlcpy(d,s,l) (strncpy(d,s,l), (d)[(l) - 1] = '\0') #define strlcat(d,s,l) strncat(d,s,(l) - strlen(d) - 1) #endif -- cgit v1.2.3