diff --git a/ptrack.c b/ptrack.c index 014eaaa..cd28b87 100644 --- a/ptrack.c +++ b/ptrack.c @@ -221,7 +221,7 @@ ptrack_copydir_hook(const char *path) } else if (strstr(path, "pg_tblspc/") == path) { - char *dbPos; + const char *dbPos; oidchars = strspn(path + 10, "0123456789"); strncpy(oidbuf, path + 10, oidchars);