diff options
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc index dc21012c..51760436 100644 --- a/src/global.cc +++ b/src/global.cc @@ -477,7 +477,7 @@ void global_scope_t::visit_man_page() const throw std::logic_error(_("Failed to fork child process")); } else if (pid == 0) { // child - execlp("man", "man", "1", "ledger", (char *)0); + execlp("man", "man", "1", "ledger", NULL); // We should never, ever reach here perror("execlp: man"); |