Index: src/library/grDevices/src/colors.c
===================================================================
--- src/library/grDevices/src/colors.c	(revision 74246)
+++ src/library/grDevices/src/colors.c	(working copy)
@@ -1529,7 +1529,7 @@
     int n = length(val), *ians = INTEGER(ans); 
     for (int i = 0; i < PaletteSize; i++) ians[i] = (int)Palette[i];
     if (n) {
-	if (TYPEOF(val) != INTSXP) error("requires INTSXP argment");
+	if (TYPEOF(val) != INTSXP) error("requires INTSXP argument");
 	if (n > MAX_PALETTE_SIZE)
 	    error(_("maximum number of colors is %d"), MAX_PALETTE_SIZE);
 	for (int i = 0; i < n; i++) Palette[i] = (rcolor)INTEGER(val)[i];
