diff --git a/include/geos/gdisk.h b/include/geos/gdisk.h index 6a0ed923e..ac6438117 100644 --- a/include/geos/gdisk.h +++ b/include/geos/gdisk.h @@ -50,7 +50,7 @@ char __fastcall__ ChangeDiskDevice(char newdev); #define OFF_GS_DTYPE 189 #define OFF_OP_TR_SC 171 #define OFF_GS_ID 173 -/* disk errors reported in oserrno */ +/* disk errors reported in _oserror */ #define ANY_FAULT 0xf0 #define G_EOF 0 #define NO_BLOCKS 1 diff --git a/libsrc/common/_poserror.c b/libsrc/common/_poserror.c index b0b939106..95dbfdc9d 100644 --- a/libsrc/common/_poserror.c +++ b/libsrc/common/_poserror.c @@ -41,7 +41,7 @@ void __fastcall__ _poserror (const char* msg) { - /* Fetch the message that corresponds to _oserrno */ + /* Fetch the message that corresponds to _oserror */ const char* errormsg = _stroserror (_oserror); /* Different output depending on msg */