diff options
author | 2010-07-16 23:27:58 +0000 | |
---|---|---|
committer | 2010-07-16 23:27:58 +0000 | |
commit | d2ea36f5891a5d5ae5b1a5cb9aba22a76739b690 (patch) | |
tree | db5fa001c7ce5f236c4490aa9cc2751a1c749bf4 /usr.bin/diff/diffdir.c | |
parent | Close FILEs when fork fails. (diff) | |
download | wireguard-openbsd-d2ea36f5891a5d5ae5b1a5cb9aba22a76739b690.tar.xz wireguard-openbsd-d2ea36f5891a5d5ae5b1a5cb9aba22a76739b690.zip |
Simplify print_status by removing NULL handling.
OK nicm
Diffstat (limited to 'usr.bin/diff/diffdir.c')
-rw-r--r-- | usr.bin/diff/diffdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c index 42288d7cf3b..073b1fd0206 100644 --- a/usr.bin/diff/diffdir.c +++ b/usr.bin/diff/diffdir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffdir.c,v 1.35 2009/10/27 23:59:37 deraadt Exp $ */ +/* $OpenBSD: diffdir.c,v 1.36 2010/07/16 23:27:58 ray Exp $ */ /* * Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -303,7 +303,7 @@ diffit(struct dirent *dp, char *path1, size_t plen1, char *path2, size_t plen2, else dp->d_status = diffreg(path1, path2, flags); if (!lflag) - print_status(dp->d_status, path1, path2, NULL); + print_status(dp->d_status, path1, path2, ""); } /* |