minor cleanup

edge.strict_endians
Yura Pakhuchiy 2007-08-16 13:52:18 +03:00
parent 09affc5d42
commit efe2c9642c
1 changed files with 1 additions and 1 deletions

View File

@ -1506,7 +1506,7 @@ static void usage(void)
static char *realpath(const char *path, char *resolved_path)
{
strncpy(resolved_path, path, PATH_MAX);
resolved_path[PATH_MAX] = '\0';
resolved_path[PATH_MAX] = 0;
return resolved_path;
}
#endif