From d53614837096b877a95cc1cfb2469823f4092d16 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 23 May 2025 00:40:45 +0000 Subject: [PATCH] use "const char * const" for malloc_options here also --- usr.bin/ssh/xmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/xmalloc.c b/usr.bin/ssh/xmalloc.c index b82b340241e..9bd83c5793b 100644 --- a/usr.bin/ssh/xmalloc.c +++ b/usr.bin/ssh/xmalloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.c,v 1.37 2022/03/13 23:27:54 cheloha Exp $ */ +/* $OpenBSD: xmalloc.c,v 1.38 2025/05/23 00:40:45 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -22,7 +22,7 @@ #include "xmalloc.h" #include "log.h" -char *malloc_options = "S"; +const char * const malloc_options = "S"; void * xmalloc(size_t size)