artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba64aa
)
fix error checking oddity in msdosfs code, as noted by kettenis@
author
halex
<halex@openbsd.org>
Tue, 24 Dec 2013 00:18:46 +0000
(
00:18
+0000)
committer
halex
<halex@openbsd.org>
Tue, 24 Dec 2013 00:18:46 +0000
(
00:18
+0000)
ok mikeb@ espie@
sys/msdosfs/msdosfs_denode.c
patch
|
blob
|
history
diff --git
a/sys/msdosfs/msdosfs_denode.c
b/sys/msdosfs/msdosfs_denode.c
index
77fa17d
..
34852d9
100644
(file)
--- a/
sys/msdosfs/msdosfs_denode.c
+++ b/
sys/msdosfs/msdosfs_denode.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: msdosfs_denode.c,v 1.4
6 2013/10/01 20:22:13 sf Exp $
*/
+/* $OpenBSD: msdosfs_denode.c,v 1.4
7 2013/12/24 00:18:46 halex Exp $
*/
/* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */
/*-
@@
-312,7
+312,7
@@
retry:
if (error == E2BIG) {
ldep->de_FileSize = de_cn2off(pmp, size);
error = 0;
- } else {
+ } else
if (error)
{
printf("deget(): pcbmap returned %d\n", error);
return (error);
}