svn commit: r238069 - user/ae/bootcode/sys/boot/common

Andrey V. Elsukov ae at FreeBSD.org
Tue Jul 3 11:41:13 UTC 2012


Author: ae
Date: Tue Jul  3 11:41:12 2012
New Revision: 238069
URL: http://svn.freebsd.org/changeset/base/238069

Log:
  Fix a typo.

Modified:
  user/ae/bootcode/sys/boot/common/part.c

Modified: user/ae/bootcode/sys/boot/common/part.c
==============================================================================
--- user/ae/bootcode/sys/boot/common/part.c	Tue Jul  3 11:30:45 2012	(r238068)
+++ user/ae/bootcode/sys/boot/common/part.c	Tue Jul  3 11:41:12 2012	(r238069)
@@ -236,7 +236,7 @@ ptable_gptread(struct ptable *table, voi
 	if (buf == NULL)
 		return (NULL);
 	tbl = malloc(table->sectorsize * MAXTBLSZ);
-	if {tbl == NULL} {
+	if (tbl == NULL) {
 		free(buf);
 		return (NULL);
 	}


More information about the svn-src-user mailing list