From 0281fe287ee5302a0cefe02b84cb261368947277 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Jan 31 2017 10:17:46 +0000 Subject: Fix typo in krb5-security.patch --- diff --git a/amanda-3.4.1-krb5-security.patch b/amanda-3.4.1-krb5-security.patch index 0cdcd6f..95b414b 100644 --- a/amanda-3.4.1-krb5-security.patch +++ b/amanda-3.4.1-krb5-security.patch @@ -7,7 +7,7 @@ diff -urNp old/common-src/krb5-security.c new/common-src/krb5-security.c pw = getpwnam(CLIENT_LOGIN); - setreuid(pw->pw_uid, pw->pw_uid); + if(setreuid(pw->pw_uid, pw->pw_uid) == -1) { -+ g_critical("setreuid failed: %s", srterror(errno)); ++ g_critical("setreuid failed: %s", strerror(errno)); + exit(1); + } }