; Correct typos in commentary and error messages

* src/lisp.h (USE_LSB_TAG):

* src/pdumper.c (pdumper_load): Correct typos in commentary and
error messages.
This commit is contained in:
Po Lu 2025-03-10 09:43:13 +08:00
parent 0861da138b
commit 5176eeb300
2 changed files with 3 additions and 3 deletions

View file

@ -257,9 +257,9 @@ DEFINE_GDB_SYMBOL_BEGIN (bool, USE_LSB_TAG)
&& !defined __alignas_is_defined \
&& __STDC_VERSION__ < 202311 && __cplusplus < 201103)
#define USE_LSB_TAG 0
#else /* EMACS_INT_WIDTH >= GCALIGNMENT || defined alignas ... */
#else /* ALIGNOF_EMACS_INT >= IDEAL_GCALIGNMENT || defined alignas ... */
#define USE_LSB_TAG (VAL_MAX / 2 < INTPTR_MAX)
#endif /* EMACS_INT_WIDTH >= GCALIGNMENT || defined alignas ... */
#endif /* ALIGNOF_EMACS_INT >= IDEAL_GCALIGNMENT || defined alignas ... */
DEFINE_GDB_SYMBOL_END (USE_LSB_TAG)
/* Mask for the value (as opposed to the type bits) of a Lisp object. */

View file

@ -5810,7 +5810,7 @@ pdumper_load (const char *dump_filename, char *argv0)
if ((dump_base + dump_size) & ~VALMASK)
{
fprintf (stderr,
"Failed to load dump file: 0x%p+0x%p & 0x%p != 0\n",
"Failed to load dump file: 0x%p+0x%p & ~0x%p != 0\n",
(void *) dump_base, (void *) dump_size,
(void *) (uintptr_t) VALMASK);
goto out;