diff options
-rw-r--r-- | crypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ int main(int argc, char **argv) if ((printed = printf("%s\n", hash)) < 0) { error(strerror(errno)); } + assert(printed > 0); if ((unsigned) printed < strlen(hash) + 1) { /* +1 for newline */ error("Incomplete print"); } |