diff options
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r-- | src/librc-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c index 6d90b02c..d5b66b02 100644 --- a/src/librc-misc.c +++ b/src/librc-misc.c @@ -58,7 +58,7 @@ char *rc_strcatpaths (const char *path1, const char *paths, ...) } va_end (ap); - pathp = path = xmalloc (length * sizeof (char *)); + pathp = path = xmalloc (length * sizeof (char)); memset (path, 0, length); i = strlen (path1); memcpy (path, path1, i); |