We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2e78c commit ac1e9a7Copy full SHA for ac1e9a7
src/dir.c
@@ -1149,11 +1149,11 @@ read_tablespace_map(parray *links, const char *backup_dir)
1149
1150
while (fgets(buf, lengthof(buf), fp))
1151
{
1152
- char link_name[MAXPGPATH],
1153
- path[MAXPGPATH];
1154
- pgFile *file;
+ char link_name[MAXPGPATH];
+ char path[MAXPGPATH];
+ pgFile *file;
1155
1156
- if (sscanf(buf, "%s %n", link_name, path) != 2)
+ if (sscanf(buf, "%s %s", link_name, path) != 2)
1157
elog(ERROR, "invalid format found in \"%s\"", map_path);
1158
1159
file = pgut_new(pgFile);
0 commit comments