Correct parameter usage.

This commit is contained in:
Thomas Harte committed 2024-10-15 21:54:04 -04:00
1 parent b701ce9721
commit d35165bd8e
1 file changed
+1 -1
+1 -1
View File
@@ -446,7 +446,7 @@ std::string final_path_component(const std::string &path) {
std::string system_get(const char *command) {
struct pcloser {
void operator()(FILE *file) {
pclose(dir);
pclose(file);
}
};
std::unique_ptr<FILE, pcloser> pipe(popen(command, "r"));