Skip to content

Commit

Permalink
Build: configure: Rename PCMK_RUN_DIR to PCMK__RUN_DIR.
Browse files Browse the repository at this point in the history
  • Loading branch information
clumens committed Aug 19, 2024
1 parent 5378a35 commit ca63ce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ AC_DEFINE_UNQUOTED([PCMK__LOCALE_DIR],["$localedir"],

AS_IF([test x"${runstatedir}" = x""], [runstatedir="${pcmk_runstatedir}"])
expand_path_option runstatedir "${localstatedir}/run"
AC_DEFINE_UNQUOTED([PCMK_RUN_DIR], ["$runstatedir"],
AC_DEFINE_UNQUOTED([PCMK__RUN_DIR], ["$runstatedir"],
[Location for modifiable per-process data])
AC_SUBST(runstatedir)

Expand Down
2 changes: 1 addition & 1 deletion lib/common/watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ pcmk__locate_sbd(void)
}

/* Look for the pid file */
pidfile = crm_strdup_printf(PCMK_RUN_DIR "/sbd.pid");
pidfile = crm_strdup_printf(PCMK__RUN_DIR "/sbd.pid");
sbd_path = crm_strdup_printf("%s/sbd", SBIN_DIR);

/* Read the pid file */
Expand Down

0 comments on commit ca63ce2

Please sign in to comment.