summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/sun.c')
-rw-r--r--libfdisk/src/sun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdisk/src/sun.c b/libfdisk/src/sun.c
index a97ecac0a..55ec8773c 100644
--- a/libfdisk/src/sun.c
+++ b/libfdisk/src/sun.c
@@ -56,7 +56,7 @@ static struct fdisk_parttype sun_parttypes[] = {
{ 0, NULL }
};
-/* return poiter buffer with on-disk data */
+/* return pointer buffer with on-disk data */
static inline struct sun_disklabel *self_disklabel(struct fdisk_context *cxt)
{
assert(cxt);
@@ -783,7 +783,7 @@ static int sun_get_disklabel_item(struct fdisk_context *cxt, struct fdisk_labeli
break;
default:
if (item->id < __FDISK_NLABELITEMS)
- rc = 1; /* unssupported generic item */
+ rc = 1; /* unsupported generic item */
else
rc = 2; /* out of range */
break;