mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 21:30:30 +01:00
glib-aux: fix NM_AUTO_PROTECT_ERRNO() macro
(cherry picked from commit 95208e0655)
This commit is contained in:
parent
38fdbe0739
commit
68c63af016
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ _nm_auto_free_gstring(GString **str)
|
|||
#define nm_auto_free_gstring nm_auto(_nm_auto_free_gstring)
|
||||
|
||||
static inline void
|
||||
_nm_auto_protect_errno(int *p_saved_errno)
|
||||
_nm_auto_protect_errno(const int *p_saved_errno)
|
||||
{
|
||||
errno = *p_saved_errno;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue