From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/libmach/DragonFly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmach/DragonFly.c') diff --git a/src/libmach/DragonFly.c b/src/libmach/DragonFly.c index 92ffdb92..33bd8e9c 100644 --- a/src/libmach/DragonFly.c +++ b/src/libmach/DragonFly.c @@ -43,7 +43,7 @@ unmapproc(Map *map) for(i=0; inseg; i++) while(inseg && map->seg[i].pid){ map->nseg--; - memmove(&map->seg[i], &map->seg[i+1], + memmove(&map->seg[i], &map->seg[i+1], (map->nseg-i)*sizeof(map->seg[0])); } } -- cgit v1.2.3