summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/GenCapsuleHdr
diff options
context:
space:
mode:
authorywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-09 22:29:27 +0000
committerywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-09 22:29:27 +0000
commit60db81c16b79e22ec1a883ab55b231d34d5b926b (patch)
treeb9a639166543800694e01b8d0b103c8336a3b41b /Tools/CCode/Source/GenCapsuleHdr
parent18a964cf709bcfe16f98a7019fa46d199b916cc6 (diff)
downloadedk2-platforms-60db81c16b79e22ec1a883ab55b231d34d5b926b.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2201 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/GenCapsuleHdr')
-rw-r--r--Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c b/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c
index 16b15c3d66..6f182615a6 100644
--- a/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c
+++ b/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c
@@ -2364,7 +2364,7 @@ Returns:
Argc--;
Argv++;
- if (Argc < 1) {
+ if (Argc == 0) {
Usage ();
return STATUS_ERROR;
}