Fix typo in comment in xfs::write_label()

This commit is contained in:
Mike Fleetwood 2022-06-20 14:46:20 +01:00 committed by Curtis Gedak
parent bfea656209
commit bf5c6bb618
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ bool xfs::write_label( const Partition & partition, OperationDetail & operationd
" " + partition.get_mountpoint();
execute_command(cmd, operationdetail);
// In a some error situations xfs_io reports exit status zero but writes a
// In some error situations xfs_io reports exit status zero and writes a
// failure message to stdout. Therefore determine success based on the
// output starting with the fixed text, reporting the new label.
bool success = output.compare(0, 9, "label = \"") == 0;