Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fdisk_get_units_per_sector:
* @cxt: context
*
- * This is neccessary only for brain dead situations when we use "cylinders";
+ * This is necessary only for brain dead situations when we use "cylinders";
*
* Returns: number of "units" per sector, default is 1 if display unit is sector.
*/
*
* Writes script @dp to the ile @f.
*
- * Returns: 0 on sucess, <0 on error.
+ * Returns: 0 on success, <0 on error.
*/
int fdisk_script_write_file(struct fdisk_script *dp, FILE *f)
{
return rc ? rc : buffer_append_data(buf, str);
}
-/* save the current buffer possition to art_idx */
+/* save the current buffer position to art_idx */
static void buffer_set_art_index(struct libscols_buffer *buf)
{
if (buf) {