commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r764487 - /commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c
Date Mon, 13 Apr 2009 14:26:57 GMT
Author: mturk
Date: Mon Apr 13 14:26:56 2009
New Revision: 764487

URL: http://svn.apache.org/viewvc?rev=764487&view=rev
Log:
Return id on hp-ux for hardware

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c?rev=764487&r1=764486&r2=764487&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c Mon Apr 13 14:26:56 2009
@@ -107,7 +107,7 @@
     struct utsname sys;
     if (!uname(&sys)) {
         strcpy(string, "id");
-        strcat(string, sys.idname);
+        strcat(string, sys.idnumber);
         return CSTR_TO_JSTRING(string);
     }
     else



Mime
View raw message