mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
makefs: correct child process name
Probably a copy/paste mistake
This commit is contained in:
parent
f2747bf52b
commit
ae18890687
@ -28,7 +28,7 @@ static int makefs(const char *type, const char *device) {
|
||||
if (access(mkfs, X_OK) != 0)
|
||||
return log_error_errno(errno, "%s is not executable: %m", mkfs);
|
||||
|
||||
r = safe_fork("(fsck)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG, &pid);
|
||||
r = safe_fork("(mkfs)", FORK_RESET_SIGNALS|FORK_DEATHSIG|FORK_RLIMIT_NOFILE_SAFE|FORK_LOG, &pid);
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (r == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user