2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Add debug_return_ssize_t

This commit is contained in:
Todd C. Miller
2015-11-01 15:13:28 -07:00
parent c6dad0001d
commit 8b12390abf
4 changed files with 23 additions and 5 deletions

View File

@@ -310,9 +310,9 @@ ts_write(int fd, const char *fname, struct timestamp_entry *entry, off_t offset)
(long long)old_eof);
}
}
debug_return_size_t(-1);
debug_return_ssize_t(-1);
}
debug_return_size_t(nwritten);
debug_return_ssize_t(nwritten);
}
/*
@@ -553,7 +553,7 @@ done:
if (should_unlock)
timestamp_unlock_record(cookie->fd, cookie->pos, sizeof(*entry));
debug_return_size_t(nread);
debug_return_ssize_t(nread);
}
/*