[82433] branches/gsoc11-post-destroot/base/src/pextlib1.0/macho.c

fotanus at macports.org fotanus at macports.org
Sat Aug 13 15:09:04 PDT 2011


Revision: 82433
          http://trac.macports.org/changeset/82433
Author:   fotanus at macports.org
Date:     2011-08-13 15:09:04 -0700 (Sat, 13 Aug 2011)
Log Message:
-----------
Fixed error messge for wrong Tcl parameters

Modified Paths:
--------------
    branches/gsoc11-post-destroot/base/src/pextlib1.0/macho.c

Modified: branches/gsoc11-post-destroot/base/src/pextlib1.0/macho.c
===================================================================
--- branches/gsoc11-post-destroot/base/src/pextlib1.0/macho.c	2011-08-13 22:08:33 UTC (rev 82432)
+++ branches/gsoc11-post-destroot/base/src/pextlib1.0/macho.c	2011-08-13 22:09:04 UTC (rev 82433)
@@ -292,7 +292,7 @@
 
 
 	if (objc != 2) {
-		Tcl_WrongNumArgs(interp, 1, objv, "directory");
+		Tcl_WrongNumArgs(interp, 1, objv, "Should pass a file path as parameter");
 		return TCL_ERROR;
 	}
 
@@ -346,7 +346,7 @@
 	macho_input_t input_file;
 
 	if (objc != 2) {
-		Tcl_WrongNumArgs(interp, 1, objv, "directory");
+		Tcl_WrongNumArgs(interp, 1, objv,  "Should pass a file path as parameter");
 		return TCL_ERROR;
 	}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110813/0255630e/attachment-0001.html>


More information about the macports-changes mailing list