[PATCH 1/2] mountmgr: Replace sprintf with snprintf to avoid deprecation warnings on macOS.