Commit e3e3f655 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: use an available macro to silence a compiler warning

parent 3129ff68
Showing with 3 additions and 5 deletions
+3 -5
...@@ -696,11 +696,9 @@ void die_save_file(const char *die_filename ...@@ -696,11 +696,9 @@ void die_save_file(const char *die_filename
* but don't worry if it fails because we're supposed to be bailing as * but don't worry if it fails because we're supposed to be bailing as
* fast as possible. */ * fast as possible. */
if (die_stat) { if (die_stat) {
int shush; IGNORE_CALL_RESULT(chmod(targetname, die_stat->st_mode));
shush = chmod(targetname, die_stat->st_mode); IGNORE_CALL_RESULT(chown(targetname, die_stat->st_uid,
shush = chown(targetname, die_stat->st_uid, die_stat->st_gid); die_stat->st_gid));
if (shush)
;
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment