diff options
author | 2013-06-02 09:57:23 +0000 | |
---|---|---|
committer | 2013-06-02 09:57:23 +0000 | |
commit | 2ad4d84cc1dfab43f1e45fff5711e4ea6cfefb41 (patch) | |
tree | 9a833da403a09b54ceb5cc5bfd385ab39f9ec3f6 | |
parent | Rename the dired-* commands to be like the emacs equivalents. (diff) | |
download | wireguard-openbsd-2ad4d84cc1dfab43f1e45fff5711e4ea6cfefb41.tar.xz wireguard-openbsd-2ad4d84cc1dfab43f1e45fff5711e4ea6cfefb41.zip |
Fix return value in refreshbuffer.
-rw-r--r-- | usr.bin/mg/dired.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index 707ac12c3f6..c1f83e69a7f 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.60 2013/06/02 09:53:42 lum Exp $ */ +/* $OpenBSD: dired.c,v 1.61 2013/06/02 09:57:23 lum Exp $ */ /* This file is in the public domain. */ @@ -650,7 +650,7 @@ refreshbuffer(struct buffer *bp) tmp = strdup(bp->b_fname); if (tmp == NULL) { ewprintf("Out of memory"); - return (FALSE); + return (NULL); } killbuffer(bp); |