NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49634: Remove useless semicolon in vfs_vnops.c



>Number:         49634
>Category:       kern
>Synopsis:       Remove useless semicolon in vfs_vnops.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 03 14:05:00 +0000 2015
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
remove useless semicolon.
>How-To-Repeat:

>Fix:
diff -u -p -r1.192 vfs_vnops.c
--- sys/kern/vfs_vnops.c	14 Dec 2014 23:48:58 -0000	1.192
+++ sys/kern/vfs_vnops.c	3 Feb 2015 11:29:29 -0000
@@ -673,7 +673,7 @@ vn_stat(struct vnode *vp, struct stat *s
 		break;
 	default:
 		return (EBADF);
-	};
+	}
 	sb->st_mode = mode;
 	sb->st_nlink = va.va_nlink;
 	sb->st_uid = va.va_uid;



Home | Main Index | Thread Index | Old Index