diff --git a/docs/c-runtime-library/reference/get-errno.md b/docs/c-runtime-library/reference/get-errno.md index ec2562a687..70e4ff0347 100644 --- a/docs/c-runtime-library/reference/get-errno.md +++ b/docs/c-runtime-library/reference/get-errno.md @@ -41,20 +41,20 @@ By default, this function's global state is scoped to the application. To change ```C // crt_get_errno.c -#include +#include #include +#include +#include #include -#include -#include int main() { errno_t err; int pfh; - _sopen_s( &pfh, "nonexistent.file", _O_WRONLY, _SH_DENYNO, _S_IWRITE ); - _get_errno( &err ); - printf( "errno = %d\n", err ); - printf( "fyi, ENOENT = %d\n", ENOENT ); + _sopen_s(&pfh, "nonexistent.file", _O_WRONLY, _SH_DENYNO, _S_IWRITE); + _get_errno(&err); + printf("errno = %d\n", err); + printf("fyi, ENOENT = %d\n", ENOENT); } ```